Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Shows a Windows Form modal to the MMC console window.
Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public DialogResult ShowDialog(
    Form form
)
public:
DialogResult ShowDialog(
    Form^ form
)
member ShowDialog : 
        form:Form -> DialogResult
Public Function ShowDialog (
    form As Form
) As DialogResult
Parameters
- form 
 Type: System.Windows.Forms.Form- The form modal. 
Return Value
Type: System.Windows.Forms.DialogResult
System.Windows.Forms.DialogResult.OK if the user clicks OK in the dialog box; otherwise, System.Windows.Forms.DialogResult.Cancel.
See Also
ShowDialog Overload
Console Class
Microsoft.ManagementConsole.Advanced Namespace
DialogResult
Return to top