C# Класс SystemEx.Windows.Forms.TaskDialog

A Task Dialog. This is like a MessageBox but with many more features. TaskDialog requires Windows Longhorn or later.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
PrivateCallback int
PrivateShow int
SetFlag void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Reset() публичный Метод

Resets the Task Dialog to the state when first constructed, all properties set to their default value.
public Reset ( ) : void
Результат void

Show() публичный Метод

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
Результат int

Show() публичный Метод

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.
Результат int

Show() публичный Метод

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.
Результат int

Show() публичный Метод

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.
Результат int

Show() публичный Метод

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.
Результат int

Show() публичный Метод

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.
Результат int

Show() публичный Метод

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.
Результат int

TaskDialog() публичный Метод

Creates a default Task Dialog.
public TaskDialog ( ) : System
Результат System