Console.ShowDialog Method (CommonDialog)
Shows a common dialog modal to the MMC console window.
Namespace: Microsoft.ManagementConsole.Advanced
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public DialogResult ShowDialog(
CommonDialog commonDialog
)
public:
DialogResult ShowDialog(
CommonDialog^ commonDialog
)
member ShowDialog :
commonDialog:CommonDialog -> DialogResult
Public Function ShowDialog (
commonDialog As CommonDialog
) As DialogResult
Parameters
commonDialog
Type: System.Windows.Forms.CommonDialogThe dialog 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