[This is preliminary documentation and is subject to change.]
CTor from text and dialog result
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public MessageBoxButton( string Text, DialogResult Result ) |
| Visual Basic |
|---|
Public Sub New ( _ Text As String, _ Result As DialogResult _ ) |
| Visual C++ |
|---|
public: MessageBoxButton( String^ Text, DialogResult Result ) |
| F# |
|---|
new : Text:string * Result:DialogResult -> MessageBoxButton |
| JScript |
|---|
public function MessageBox..::..MessageBoxButton( Text : String, Result : DialogResult ) |
Parameters
- Text
- Type: System..::..String
Button's text (see Text)
- Result
- Type: System.Windows.Forms..::..DialogResult
Result returned by Show(Window, String) function when the button is clicked (see Result)