C# Класс RocksmithToolkitLib.Extensions.BetterDialog2

Customizable Dialog Box to replace standard Message Box with positioning and custom buttons
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ShowDialog ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : DialogResult

Custom Dialog Box to replace standard Message Box with positioning

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

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

Clean up any resources being used.

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

Метод Описание
BetterDialog2 ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : System

The private constructor. This is only called by the static method ShowDialog.

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

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

Custom Dialog Box to replace standard Message Box with positioning
public static ShowDialog ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : DialogResult
dialogMessage string Main dialog message, if 'null' then not displayed
dialogTitle string Title displayed in dialog frame at top
textDialogButton1 string Message box 1 button text, if 'null' then not displayed
textDialogButton2 string Message box 2 button text, if 'null' then not displayed
textDialogButton3 string Message box 3 button text, if 'null' then not displayed
dialogIcon Image Image displayed left side
iconMessage string Promenent bold message displayed to right of icon
topFromCenter int Positive pixel distance up from screen center, default location is centered on screen
leftFromCenter int Positive pixel distance left from screen center, default location is centered on screen
Результат DialogResult