[This is preliminary documentation and is subject to change.]
Displays modal message box with formated prompt, given title, options, buttons and custom icon
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static DialogResult ModalF_PTOBIa( string Prompt, string Title, MessageBox..::..MessageBoxOptions Options, MessageBox..::..MessageBoxButton..::..Buttons Buttons, Image Icon, params Object[] arguments ) |
| Visual Basic |
|---|
Public Shared Function ModalF_PTOBIa ( _ Prompt As String, _ Title As String, _ Options As MessageBox..::..MessageBoxOptions, _ Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _ Icon As Image, _ ParamArray arguments As Object() _ ) As DialogResult |
| Visual C++ |
|---|
public: static DialogResult ModalF_PTOBIa( String^ Prompt, String^ Title, MessageBox..::..MessageBoxOptions Options, MessageBox..::..MessageBoxButton..::..Buttons Buttons, Image^ Icon, ... array<Object^>^ arguments ) |
| F# |
|---|
static member ModalF_PTOBIa : Prompt:string * Title:string * Options:MessageBox..::..MessageBoxOptions * Buttons:MessageBox..::..MessageBoxButton..::..Buttons * Icon:Image * arguments:Object[] -> DialogResult |
| JScript |
|---|
public static function ModalF_PTOBIa( Prompt : String, Title : String, Options : MessageBox..::..MessageBoxOptions, Buttons : MessageBox..::..MessageBoxButton..::..Buttons, Icon : Image, ... 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
- 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.
- arguments
- Type: array<System..::..Object>[]()[][]
Formating arguments for prompt. Arguments are placed in place of placeholders in Prompt using the String function.