[archived content]

Form.showDialog method

public DialogResult showDialog()
public DialogResult showDialog(IWindow iwsowner)

Shows this form as a modal dialog, where the owner (sometimes called the parent) is disabled until the dialog is dismissed. This function does not return until the dialog is dismissed. To dismiss the dialog, hide or close it. Closing a modal dialog does not dispose of its underlying resources, so the dispose method should be called.

If the IWindow owner (usually a Form) is not specified, the application's currently active window is used as the owner.

Page last modified on September 11, 2008, at 01:19 PM