C# Класс Habanero.Faces.Base.MessageBoxConfirmer

An IConfirmer that uses a MessageBox to get confirmation from the user.
Наследование: IConfirmer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

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

Gets confirmation from the user after providing them with an option
public Confirm ( string message ) : bool
message string The message to display
Результат bool

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

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.
Результат void

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

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.
Результат Habanero.Base