Share

ShowModalDialog Method

Description

Shows a modal dialog.

Overload List

Method Description
Application.ShowModalDialog (Form) Shows a modal dialog. This method should be used instead of Form.ShowDialog, which may lead to unexpected behavior.
Application.ShowModalDialog (IWin32Window, Form) Shows a modal dialog. This method should be used instead of Form.ShowDialog, which may lead to unexpected behavior.
Application.ShowModalDialog (IWin32Window, Form, [MarshalAs(UnmanagedType.U1)] bool) Shows a modal dialog. This method should be used instead of Form.ShowDialog, which may lead to unexpected behavior.

Was this information helpful?