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

Displays modal message box with formated prompt, given title, options 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 ModalF_PTOISa(
	string Prompt,
	string Title,
	MessageBox..::..MessageBoxOptions Options,
	Image Icon,
	Sound Sound,
	params Object[] arguments
)
Visual Basic
Public Shared Function ModalF_PTOISa ( _
	Prompt As String, _
	Title As String, _
	Options As MessageBox..::..MessageBoxOptions, _
	Icon As Image, _
	Sound As Sound, _
	ParamArray arguments As Object() _
) As DialogResult
Visual C++
public:
static DialogResult ModalF_PTOISa(
	String^ Prompt, 
	String^ Title, 
	MessageBox..::..MessageBoxOptions Options, 
	Image^ Icon, 
	Sound^ Sound, 
	... array<Object^>^ arguments
)
F#
static member ModalF_PTOISa : 
        Prompt:string * 
        Title:string * 
        Options:MessageBox..::..MessageBoxOptions * 
        Icon:Image * 
        Sound:Sound * 
        arguments:Object[] -> DialogResult 
JScript
public static function ModalF_PTOISa(
	Prompt : String, 
	Title : String, 
	Options : MessageBox..::..MessageBoxOptions, 
	Icon : Image, 
	Sound : Sound, 
	... arguments : Object[]
) : DialogResult

Parameters

Prompt
Type: System..::..String
Format string for promt to be shown to user
Title
Type: System..::..String
Message box title
Options
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxOptions
Options that controls messagebox layout and behaviour
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. Some icons are associated with sound (GetAssociatedSound(MessageBox..::..MessageBoxIcons)).
Sound
Type: Tools.MediaT..::..Sound

[Missing <param name="Sound"/> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.ModalF_PTOISa(System.String,System.String,Tools.WindowsT.IndependentT.MessageBox.MessageBoxOptions,System.Drawing.Image,Tools.MediaT.Sound,System.Object[])"]

arguments
Type: array<System..::..Object>[]()[][]
Formating arguments for prompt. Arguments are placed in place of placeholders in Prompt using the String function.

Return Value

Indicates button clicked by user

See Also