C# Класс FarsiLibrary.Win.Controls.FAMessageBox

An extended MessageBox with lot of customizing capabilities.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FAMessageBox System
IDisposable void

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

Метод Описание
AddButton ( FAMessageBoxButton button ) : void

Add DrawTab custom button to the message box

AddButton ( FAMessageBoxButtons button ) : void

Add DrawTab standard button to the message box

AddButton ( string text, string val ) : void

Add DrawTab custom button to the message box

AddButtons ( MessageBoxButtons buttons ) : void

Add standard buttons to the message box.

Show ( ) : string

Shows the message box

Show ( IWin32Window owner ) : string

Shows the messsage box with the specified ownerForm

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

Метод Описание
FAMessageBox ( string name, bool isRTL ) : System

Ctor is internal because this can only be created by MBManager

IDisposable ( ) : void

Called by the manager when it is _disposed

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

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

Add DrawTab custom button to the message box
public AddButton ( FAMessageBoxButton button ) : void
button FAMessageBoxButton The button to add
Результат void

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

Add DrawTab standard button to the message box
public AddButton ( FAMessageBoxButtons button ) : void
button FAMessageBoxButtons The standard button to add
Результат void

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

Add DrawTab custom button to the message box
public AddButton ( string text, string val ) : void
text string The text of the button
val string The return value in case this button is clicked
Результат void

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

Add standard buttons to the message box.
public AddButtons ( MessageBoxButtons buttons ) : void
buttons MessageBoxButtons The standard buttons to add
Результат void

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

Shows the message box
public Show ( ) : string
Результат string

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

Shows the messsage box with the specified ownerForm
public Show ( IWin32Window owner ) : string
owner IWin32Window
Результат string