Class MessageBox
- Namespace
- BSGameLib.Game
- Assembly
- BSGameLib.Game.dll
Shows native message boxes, which block until the player picks a button.
public static class MessageBox
- Inheritance
-
MessageBox
- Inherited Members
Methods
Show(IGameWindow, MessageBoxType, string, string, MessageBoxButtons)
Shows a message box with the given buttons, over window.
public static MessageBoxResult Show(IGameWindow window, MessageBoxType type, string title, string message, MessageBoxButtons buttons)
Parameters
windowIGameWindowtypeMessageBoxTypetitlestringmessagestringbuttonsMessageBoxButtons
Returns
Show(MessageBoxType, string, string)
Shows a message box with an OK button and no parent window.
public static MessageBoxResult Show(MessageBoxType type, string title, string message)
Parameters
typeMessageBoxTypetitlestringmessagestring
Returns
Show(MessageBoxType, string, string, MessageBoxButtons)
Shows a message box with the given buttons and no parent window.
public static MessageBoxResult Show(MessageBoxType type, string title, string message, MessageBoxButtons buttons)
Parameters
typeMessageBoxTypetitlestringmessagestringbuttonsMessageBoxButtons