C# Class FarsiLibrary.Win.Controls.FAMessageBox

An extended MessageBox with lot of customizing capabilities.
Inheritance: IDisposable
Afficher le fichier Open project: HEskandari/FarsiLibrary Class Usage Examples

Private Properties

Свойство Type Description
FAMessageBox System
IDisposable void

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddButton() public méthode

Add DrawTab custom button to the message box
public AddButton ( FAMessageBoxButton button ) : void
button FAMessageBoxButton The button to add
Résultat void

AddButton() public méthode

Add DrawTab standard button to the message box
public AddButton ( FAMessageBoxButtons button ) : void
button FAMessageBoxButtons The standard button to add
Résultat void

AddButton() public méthode

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
Résultat void

AddButtons() public méthode

Add standard buttons to the message box.
public AddButtons ( MessageBoxButtons buttons ) : void
buttons MessageBoxButtons The standard buttons to add
Résultat void

Show() public méthode

Shows the message box
public Show ( ) : string
Résultat string

Show() public méthode

Shows the messsage box with the specified ownerForm
public Show ( IWin32Window owner ) : string
owner IWin32Window
Résultat string