CommonDialog | marshal by reference, disposable |
System.Windows.Forms (system.windows.forms.dll) | abstract class |
This is the base class for the set of common system dialogs, such as
the File and Print dialogs. You should not use this class directly.
public abstract class CommonDialog : System.ComponentModel.Component {
// Public Constructors
public CommonDialog();
// Public Instance Methods
public abstract void Reset();
public DialogResult ShowDialog();
public DialogResult ShowDialog(IWin32Window owner);
// Protected Instance Methods
protected virtual IntPtr HookProc(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
protected virtual void OnHelpRequest(EventArgs e);
protected virtual IntPtr OwnerWndProc(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
protected abstract bool RunDialog(IntPtr hwndOwner);
// Events
public event EventHandler HelpRequest;
}
Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component(System.ComponentModel.IComponen,
System.IDisposable)
CommonDialog
Subclasses
ColorDialog, FileDialog,
FontDialog, PageSetupDialog,
PrintDialog
|