March 2003
Intermediate to advanced
896 pages
32h 35m
English
CommonDialog
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; }
System.Object
→ System.MarshalByRefObject → System.ComponentModel.Component(System.ComponentModel.IComponen,
System.IDisposable)
→ CommonDialog
ColorDialog, FileDialog,
FontDialog, PageSetupDialog,
PrintDialog
Read now
Unlock full access