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

Shows given modal message box initialized with given instance of MessageBox

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected static DialogResult ShowTemplate(
	MessageBox Instance,
	MessageBox InitializeFrom,
	Object Owner,
	string Prompt,
	string Title
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Protected Shared Function ShowTemplate ( _
	Instance As MessageBox, _
	InitializeFrom As MessageBox, _
	Owner As Object, _
	Prompt As String, _
	Title As String _
) As DialogResult
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
protected:
static DialogResult ShowTemplate(
	MessageBox^ Instance, 
	MessageBox^ InitializeFrom, 
	Object^ Owner, 
	String^ Prompt, 
	String^ Title
)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member ShowTemplate : 
        Instance:MessageBox * 
        InitializeFrom:MessageBox * 
        Owner:Object * 
        Prompt:string * 
        Title:string -> DialogResult 
JScript
protected static function ShowTemplate(
	Instance : MessageBox, 
	InitializeFrom : MessageBox, 
	Owner : Object, 
	Prompt : String, 
	Title : String
) : DialogResult

Parameters

Instance
Type: Tools.WindowsT.IndependentT..::..MessageBox
Instance to be show
InitializeFrom
Type: Tools.WindowsT.IndependentT..::..MessageBox
Instance to initialize Instance with
Owner
Type: System..::..Object
Owner window (can be null). Typical values are IWin32Window and Window If implementation does not recognize type of owner it ignores it.
Prompt
Type: System..::..String
If not null sets dfferent prompt then InitializeFrom
Title
Type: System..::..String
Is not null sets diffetent title then InitializeFrom

Return Value

Message box result

Remarks

For same reason as InitializeFrom(MessageBox), do not use InitializeFrom to clonning live message boxes

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionInstance or InitializeFrom is null

See Also

Collapse/expand Version History

1.5.3