C# Class System.Waf.Presentation.Services.MessageService

Inheritance: IMessageService
Show file Open project: jbe2277/waf Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ShowError ( object owner, string message ) : void

Shows the message as error.

ShowMessage ( object owner, string message ) : void

Shows the message.

ShowQuestion ( object owner, string message ) : bool?

Shows the specified question.

ShowWarning ( object owner, string message ) : void

Shows the message as warning.

ShowYesNoQuestion ( object owner, string message ) : bool

Shows the specified yes/no question.

Method Details

ShowError() public method

Shows the message as error.
public ShowError ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowMessage() public method

Shows the message.
public ShowMessage ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowQuestion() public method

Shows the specified question.
public ShowQuestion ( object owner, string message ) : bool?
owner object The window that owns this Message Window.
message string The question.
return bool?

ShowWarning() public method

Shows the message as warning.
public ShowWarning ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowYesNoQuestion() public method

Shows the specified yes/no question.
public ShowYesNoQuestion ( object owner, string message ) : bool
owner object The window that owns this Message Window.
message string The question.
return bool