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

Initializes current instance of MessageBox with setting of another 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 void InitializeFrom(
	MessageBox Other
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Protected Sub InitializeFrom ( _
	Other As MessageBox _
)
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
protected:
void InitializeFrom(
	MessageBox^ Other
)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member InitializeFrom : 
        Other:MessageBox -> unit 
JScript
protected function InitializeFrom(
	Other : MessageBox
)

Parameters

Other
Type: Tools.WindowsT.IndependentT..::..MessageBox
MessageBox to initialize this instance with

Remarks

Do not use this method for vloning message boxes. This method is mainly intended for internal use. The OtherMessageBox should be only used for initializing this instance and should be never shown. This is because values of properties are simply copied form Other to this instance ant thus both instances then shares same buttons and other controls which can cause instability when both instances are shown.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionOther is null

See Also