C# Class SystemEx.Windows.Forms.TaskDialog

A Task Dialog. This is like a MessageBox but with many more features. TaskDialog requires Windows Longhorn or later.
Afficher le fichier Open project: pvginkel/SystemEx Class Usage Examples

Private Properties

Свойство Type Description
PrivateCallback int
PrivateShow int
SetFlag void

Méthodes publiques

Méthode Description
Reset ( ) : void

Resets the Task Dialog to the state when first constructed, all properties set to their default value.

Show ( ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner, bool &verificationFlagChecked ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner, bool &verificationFlagChecked ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

TaskDialog ( ) : System

Creates a default Task Dialog.

Private Methods

Méthode Description
PrivateCallback ( [ hwnd, [ msg, [ wparam, [ lparam, [ refData ) : int

The callback from the native Task Dialog. This prepares the friendlier arguments and calls the simplier callback.

PrivateShow ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

SetFlag ( System.Win32 flag, bool value ) : void

Helper function to set or clear a bit in the flags field.

Method Details

Reset() public méthode

Resets the Task Dialog to the state when first constructed, all properties set to their default value.
public Reset ( ) : void
Résultat void

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( ) : int
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner ) : int
owner IWin32Window Owner window the task Dialog will modal to.
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner, bool &verificationFlagChecked ) : int
owner IWin32Window Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner, bool &verificationFlagChecked, int &radioButtonResult ) : int
owner IWin32Window Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
radioButtonResult int The radio botton selected by the user.
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner, bool &verificationFlagChecked ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
Résultat int

Show() public méthode

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
radioButtonResult int The radio botton selected by the user.
Résultat int

TaskDialog() public méthode

Creates a default Task Dialog.
public TaskDialog ( ) : System
Résultat System