C# Class Habanero.Faces.Base.MessageBoxConfirmer

An IConfirmer that uses a MessageBox to get confirmation from the user.
Inheritance: IConfirmer
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
Confirm ( string message ) : bool

Gets confirmation from the user after providing them with an option

Confirm ( string message, ConfirmationDelegate confirmationDelegate ) : void

Gets confirmation from the user after providing them with an option and executes the provided delegate once the user has responded.

MessageBoxConfirmer ( IControlFactory controlFactory, string title, MessageBoxIcon messageBoxIcon ) : Habanero.Base

Construct a MessageBoxConfirmer with the specified information.

Method Details

Confirm() public méthode

Gets confirmation from the user after providing them with an option
public Confirm ( string message ) : bool
message string The message to display
Résultat bool

Confirm() public méthode

Gets confirmation from the user after providing them with an option and executes the provided delegate once the user has responded.
public Confirm ( string message, ConfirmationDelegate confirmationDelegate ) : void
message string The message to display
confirmationDelegate ConfirmationDelegate The delegate to execute once the user has responded.
Résultat void

MessageBoxConfirmer() public méthode

Construct a MessageBoxConfirmer with the specified information.
public MessageBoxConfirmer ( IControlFactory controlFactory, string title, MessageBoxIcon messageBoxIcon ) : Habanero.Base
controlFactory IControlFactory The to use to create the MessageBox.
title string The Title to display in the MessageBox.
messageBoxIcon MessageBoxIcon The to display in the MessageBox.
Résultat Habanero.Base