The Execute method executes the form as a modal dialog box.
Execute()
Returns the value of the DialogResult property of the Button that the user pressed to dismiss the dialog.
Button.DialogResult Property
Form Object