System.Windows.Forms.CommonDialog: Method Members

The methods of System.Windows.Forms.CommonDialog are listed below. For a list of all members, see the CommonDialog Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Methods

abstract
Reset()

When overridden in a derived class, resets the properties of a common dialog box to their default values.

ShowDialog() : DialogResult

Runs a common dialog box with a default owner.

ShowDialog(IWin32Window) : DialogResult

Runs a common dialog box with the specified owner.

Protected Methods

HookProc(IntPtr, int, IntPtr, IntPtr) : IntPtr

Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.

OnHelpRequest(EventArgs)

Raises the CommonDialog.HelpRequest event.

OwnerWndProc(IntPtr, int, IntPtr, IntPtr) : IntPtr

Defines the owner window procedure that is overridden to add specific functionality to a common dialog box.

abstract
RunDialog(IntPtr) : bool

When overridden in a derived class, specifies a common dialog box.