[This is preliminary documentation and is subject to change.]
Displays modal message box with given prompt, tile and options and custom icon. Optinally also buttons.
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static DialogResult Modal_PTOIBS( string Prompt, string Title, MessageBox..::..MessageBoxOptions Options, Image Icon, MessageBox..::..MessageBoxButton..::..Buttons Buttons, Sound Sound ) |
| Visual Basic |
|---|
Public Shared Function Modal_PTOIBS ( _ Prompt As String, _ Title As String, _ Options As MessageBox..::..MessageBoxOptions, _ Icon As Image, _ Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _ Sound As Sound _ ) As DialogResult |
| Visual C++ |
|---|
public: static DialogResult Modal_PTOIBS( String^ Prompt, String^ Title, MessageBox..::..MessageBoxOptions Options, Image^ Icon, MessageBox..::..MessageBoxButton..::..Buttons Buttons, Sound^ Sound ) |
| F# |
|---|
static member Modal_PTOIBS : Prompt:string * Title:string * Options:MessageBox..::..MessageBoxOptions * Icon:Image * Buttons:MessageBox..::..MessageBoxButton..::..Buttons * Sound:Sound -> DialogResult |
| JScript |
|---|
public static function Modal_PTOIBS( Prompt : String, Title : String, Options : MessageBox..::..MessageBoxOptions, Icon : Image, Buttons : MessageBox..::..MessageBoxButton..::..Buttons, Sound : Sound ) : DialogResult |
Parameters
- Prompt
- Type: System..::..String
Prompt to be shown
- 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.
- Buttons
- Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxButton..::..Buttons
Defines which buttons will be available to user
- Sound
- Type: Tools.MediaT..::..Sound
Sound to be played when message box is shown
Return Value
[Missing <returns> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.Modal_PTOIBS(System.String,System.String,Tools.WindowsT.IndependentT.MessageBox.MessageBoxOptions,System.Drawing.Image,Tools.WindowsT.IndependentT.MessageBox.MessageBoxButton.Buttons,Tools.MediaT.Sound)"]