Attempts to display the specified form in a dialog box.
Syntax
Parameters
- form
-
The System.Windows.Forms.Form to display.
Returns
One of the System.Windows.Forms.DialogResult values indicating the result code returned by the dialog box.
Remarks
Requirements
Namespace: System.Windows.Forms.Design
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0