MessageBox.ShowMsgBox Method (String, String, String, Nullable(Vector2))

GeonBit.UI

MessageBoxShowMsgBox Method (String, String, String, NullableVector2)
Show a message box with just "OK".

Namespace:  GeonBit.UI.Utils
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Panel ShowMsgBox(
	string header,
	string text,
	string closeButtonTxt = null,
	Nullable<Vector2> size = null
)

Parameters

header
Type: SystemString
Message box title.
text
Type: SystemString
Main text to write on the message box.
closeButtonTxt (Optional)
Type: SystemString
Text for the closing button (if not provided will use default).
size (Optional)
Type: SystemNullableVector2
Message box size (if not provided will use default).

Return Value

Type: Panel
Message box panel.
See Also