Name
CommonDialog
Synopsis
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
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.