WindowsUtilitiesShowModelessAsync Method (Form, Boolean) |
Shows the form as a modeless dialog box.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Task<DialogResult> ShowModelessAsync(
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:
TaskDialogResultOne of the DialogResult values.
Exceptions See Also