Launches a modal dialog box.
public int runDialog( Form dialog )
dialog
The dialog box to be displayed.
Returns the dialog result.
This method also handles positioning the dialog box on the screen.