Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Form.showDialog

Displays this form as a modal dialog.

Syntax

public final int showDialog()

public final int showDialog( Form owner )

Parameters

owner

A Form object that identifies the owner of the dialog.

Return Value

Returns the dialog result. This value equates to one of the enumeration constants defined in the DialogResult class.