Shows a modal dialog. This method should be used instead of Form.ShowDialog, which may lead to unexpected behavior.
Public static Function ShowModalDialog( owner As IWin32Window, formToShow As Form ) As System.Windows.Forms.DialogResult
public static System.Windows.Forms.DialogResult ShowModalDialog( IWin32Window owner, Form formToShow );
|
Parameters |
Description |
|
IWin32Window owner |
Input the owner window of this dialog. |
|
Form formToShow |
Input the form to be shown. |
| Comments? |