Displays this form as a modal dialog.
public final int showDialog()
public final int showDialog( Form owner )
owner
A Form object that identifies the owner of the dialog.
Returns the dialog result. This value equates to one of the enumeration constants defined in the DialogResult class.