C# Class Warehouse.MessageBox

Inheritance: Json
Afficher le fichier Open project: Starcounter/Warehouse

Méthodes publiques

Méthode 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

Méthode Description
Handle ( Input action ) : void
HideWindow ( ) : void
InvokeCallback ( MessageBoxResult result ) : void
Reset ( ) : void

Method Details

OnButtonClick() public méthode

public OnButtonClick ( MessageBoxButton button ) : void
button MessageBoxButton
Résultat void

Show() public static méthode

public static Show ( string title, string text, Action callback = null ) : void
title string
text string
callback Action
Résultat void

Show() public static méthode

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

Show() public static méthode

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
Résultat void