Method ShowDialog
ShowDialog(IWin32Window)
When implemented by a class, shows the dialog as a modal dialog box with the specified owner.
DialogResult ShowDialog(IWin32Window owner)
Parameters
owner
IWin32WindowAny object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
Returns
- DialogResult
One of the System.Windows.Forms.DialogResult values.
ShowDialog()
When implemented by a class, shows the dialog as a modal dialog box.
DialogResult ShowDialog()
Returns
- DialogResult
One of the System.Windows.Forms.DialogResult values.