[This is preliminary documentation and is subject to change.]

Displays modal message with given prompt, title, buttons and custom icon

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static DialogResult Modal_PTBI(
	string Prompt,
	string Title,
	MessageBox..::..MessageBoxButton..::..Buttons Buttons,
	Image Icon
)
Visual Basic
Public Shared Function Modal_PTBI ( _
	Prompt As String, _
	Title As String, _
	Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _
	Icon As Image _
) As DialogResult
Visual C++
public:
static DialogResult Modal_PTBI(
	String^ Prompt, 
	String^ Title, 
	MessageBox..::..MessageBoxButton..::..Buttons Buttons, 
	Image^ Icon
)
F#
static member Modal_PTBI : 
        Prompt:string * 
        Title:string * 
        Buttons:MessageBox..::..MessageBoxButton..::..Buttons * 
        Icon:Image -> DialogResult 
JScript
public static function Modal_PTBI(
	Prompt : String, 
	Title : String, 
	Buttons : MessageBox..::..MessageBoxButton..::..Buttons, 
	Icon : Image
) : DialogResult

Parameters

Prompt
Type: System..::..String
Prompt to be shown
Title
Type: System..::..String
Message box title
Buttons
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxButton..::..Buttons
Defines which buttons will be available to user
Icon
Type: System.Drawing..::..Image
Icon that will be shown on messagebox. Default preffered size is 64×64 px (can be changed in derived class). Icon can be null.

Return Value

Indicates button clicked by user

See Also