WindowsUtilitiesShowModal Method (Form, Boolean) |
Shows the form as a modal dialog box.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static DialogResult ShowModal(
Form form,
bool centerWindow = true
)
Parameters
- form
- Type: System.Windows.FormsForm
The form. - centerWindow (Optional)
- Type: SystemBoolean
if set to true the window will be centered.
Return Value
Type:
DialogResultOne of the DialogResult values.
Exceptions See Also