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

Displays autoclosing modal message box

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_PTMBIOW(
	string Prompt,
	string Title,
	TimeSpan Timer,
	MessageBox..::..MessageBoxButton..::..Buttons Buttons,
	Image Icon,
	MessageBox..::..MessageBoxOptions Options,
	Object Owner
)
Visual Basic
Public Shared Function Modal_PTMBIOW ( _
	Prompt As String, _
	Title As String, _
	Timer As TimeSpan, _
	Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _
	Icon As Image, _
	Options As MessageBox..::..MessageBoxOptions, _
	Owner As Object _
) As DialogResult
Visual C++
public:
static DialogResult Modal_PTMBIOW(
	String^ Prompt, 
	String^ Title, 
	TimeSpan Timer, 
	MessageBox..::..MessageBoxButton..::..Buttons Buttons, 
	Image^ Icon, 
	MessageBox..::..MessageBoxOptions Options, 
	Object^ Owner
)
F#
static member Modal_PTMBIOW : 
        Prompt:string * 
        Title:string * 
        Timer:TimeSpan * 
        Buttons:MessageBox..::..MessageBoxButton..::..Buttons * 
        Icon:Image * 
        Options:MessageBox..::..MessageBoxOptions * 
        Owner:Object -> DialogResult 
JScript
public static function Modal_PTMBIOW(
	Prompt : String, 
	Title : String, 
	Timer : TimeSpan, 
	Buttons : MessageBox..::..MessageBoxButton..::..Buttons, 
	Icon : Image, 
	Options : MessageBox..::..MessageBoxOptions, 
	Owner : Object
) : DialogResult

Parameters

Prompt
Type: System..::..String
Prompt to be shown
Title
Type: System..::..String
Message box title
Timer
Type: System..::..TimeSpan
Time after which the message box will close automatically
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.
Options
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxOptions
Options that controls messagebox layout and behaviour
Owner
Type: System..::..Object
The window message box window will be modal to (can be null). Typical values are IWin32Window and Window If implementation does not recognize type of owner it ignores it.

Return Value

Indicates button clicked by user

See Also

Collapse/expand Version History

1.5.3