C# Class Warehouse.MessageBox

Inheritance: Json
Mostra file Open project: Starcounter/Warehouse

Public Methods

Method Description
OnButtonClick ( MessageBoxButton button ) : void
Show ( string title, string text, Action callback = null ) : void
Show ( string title, string text, IList buttons, Action callback = null ) : void
Show ( string title, string text, MessageBoxButton button1, MessageBoxButton button2, Action callback = null ) : void

Private Methods

Method Description
Handle ( Input action ) : void
HideWindow ( ) : void
InvokeCallback ( MessageBoxResult result ) : void
Reset ( ) : void

Method Details

OnButtonClick() public method

public OnButtonClick ( MessageBoxButton button ) : void
button MessageBoxButton
return void

Show() public static method

public static Show ( string title, string text, Action callback = null ) : void
title string
text string
callback Action
return void

Show() public static method

public static Show ( string title, string text, IList buttons, Action callback = null ) : void
title string
text string
buttons IList
callback Action
return void

Show() public static method

public static Show ( string title, string text, MessageBoxButton button1, MessageBoxButton button2, Action callback = null ) : void
title string
text string
button1 MessageBoxButton
button2 MessageBoxButton
callback Action
return void