Click or drag to resize

WindowsUtilitiesShowModelessAsync Method (Form, IntPtr, Boolean)

Shows the form as a modeless dialog box.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Task<DialogResult> ShowModelessAsync(
	Form form,
	IntPtr ownerHandle,
	bool centerWindow = true
)

Parameters

form
Type: System.Windows.FormsForm
The form.
ownerHandle
Type: SystemIntPtr
The owner window handle.
centerWindow (Optional)
Type: SystemBoolean
if set to true the window will be centered.

Return Value

Type: TaskDialogResult
One of the DialogResult values.
Exceptions
ExceptionCondition
ArgumentNullExceptionform is null.
See Also