C# Класс Nexus.UI.Controls.ExtendedMessageBox

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, Int32 p_intMinWidth, Int32 p_intDetailHeight, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Shows the message box.

Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult

Shows the message box.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

ExtendedMessageBox ( ) : System

The default constructor.

Init ( string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon, bool p_booShowRemember ) : void

Sets up the form.

Init ( string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool p_booShowRemember ) : void

Sets up the form.

Show ( ExtendedMessageBox p_mbxBox, Control p_ctlParent ) : DialogResult

Shows the message box.

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

Метод Описание
AddButtons ( ExtendedMessageBoxButtons p_ebbButtons, bool p_booShowDetails ) : Int32
Button_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the message box's buttons.

This set the appropriate DialogResult.

Details_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the show details button.

This shows or hides the details pane as appropriate.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

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

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

ExtendedMessageBox() защищенный Метод

The default constructor.
protected ExtendedMessageBox ( ) : System
Результат System

Init() защищенный Метод

Sets up the form.
protected Init ( string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon, bool p_booShowRemember ) : void
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details.
p_ebbButtons ExtendedMessageBoxButtons The extended buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
p_booShowRemember bool Whether to display the remember selection checkbox.
Результат void

Init() защищенный Метод

Sets up the form.
protected Init ( string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool p_booShowRemember ) : void
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
p_booShowRemember bool Whether to display the remember selection checkbox.
Результат void

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
p_booRemember bool Indicates whether the selected button should be remembered.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details to display.
p_ebbButtons ExtendedMessageBoxButtons The extended buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, ExtendedMessageBoxButtons p_ebbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details to display.
p_ebbButtons ExtendedMessageBoxButtons The extended buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
p_booRemember bool Indicates whether the selected button should be remembered.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, Int32 p_intMinWidth, Int32 p_intDetailHeight, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details to display.
p_intMinWidth Int32 The minimum width of the message box.
p_intDetailHeight Int32 The initial height of the details section.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details to display.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
Результат DialogResult

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

Shows the message box.
public static Show ( Control p_ctlParent, string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon, bool &p_booRemember ) : DialogResult
p_ctlParent Control The parent of the message box.
p_strMessage string The message to display.
p_strCaption string The windows title.
p_strDetails string The HTML-formatted details to display.
p_mbbButtons MessageBoxButtons The buttons to display.
p_mbiIcon MessageBoxIcon The icon to display.
p_booRemember bool Indicates whether the selected button should be remembered.
Результат DialogResult

Show() защищенный статический Метод

Shows the message box.
protected static Show ( ExtendedMessageBox p_mbxBox, Control p_ctlParent ) : DialogResult
p_mbxBox ExtendedMessageBox The dialog to display.
p_ctlParent Control The parent of the message box.
Результат DialogResult