ComponentOne Windows 7 Control Pack for WinForms
Show(IWin32Window) Method



C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1TaskDialog Class > Show Method : Show(IWin32Window) Method
An implementation of IWin32Window that will own the task dialog.
Creates and shows a task dialog.
Syntax
Public Overloads Function Show( _
   ByVal owner As IWin32Window _
) As TaskDialogResult
Dim instance As C1TaskDialog
Dim owner As IWin32Window
Dim value As TaskDialogResult
 
value = instance.Show(owner)
public TaskDialogResult Show( 
   IWin32Window owner
)
public:
TaskDialogResult Show( 
   IWin32Window^ owner
) 

Parameters

owner
An implementation of IWin32Window that will own the task dialog.

Return Value

The task dialog result (see also the DialogResult property).
Remarks
You can use the owner parameter to specify a particular object, which implements the IWin32Window interface, that will serve as the dialog box's top-level window and owner. A task dialog is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.
See Also

Reference

C1TaskDialog Class
C1TaskDialog Members
Overload List