Execute Method

The Execute method executes the form as a modal dialog box.

Syntax

Execute()

Return Values

Returns value of the DialogResult property of the Button that an user pressed to dismiss the dialog.

See Also

Button.DialogResult Property

Form Object