Table of Contents

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

window IGameWindow
type MessageBoxType
title string
message string
buttons MessageBoxButtons

Returns

MessageBoxResult

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

type MessageBoxType
title string
message string

Returns

MessageBoxResult

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

type MessageBoxType
title string
message string
buttons MessageBoxButtons

Returns

MessageBoxResult