C# 클래스 Habanero.Faces.Base.MessageBoxConfirmer

An IConfirmer that uses a MessageBox to get confirmation from the user.
상속: IConfirmer
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
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