Shows the given dialog box.
[Visual Basic] Function ShowDialog( _ ByVal dialog As Form _ ) As DialogResult [C#] DialogResult ShowDialog( Form dialog ); [C++] DialogResult ShowDialog( Form* dialog ) = 0; [JScript] function ShowDialog( dialog : Form ) : DialogResult;
One of the DialogResult values.
You should always use this method instead of showing the dialog directly. This method will properly position the dialog and provide it a dialog owner.
IWinFormsEditorService Interface | IWinFormsEditorService Members | System.WinForms.Design Namespace | DialogResult