ShowWarning(String,String,ButtonConfiguration) Method
Displays an warning dialog box with the specified message and title.
Syntax
public static System.Windows.Forms.DialogResult ShowWarning(
System.string message,
System.string title,
ButtonConfiguration btnType
)Public Overloads Shared Function ShowWarning( _
ByVal message As System.String, _
ByVal title As System.String, _
ByVal btnType As ButtonConfiguration _
) As System.Windows.Forms.DialogResultParameters
| Name | Description |
|---|---|
| message | The warning text to display in the dialog box. |
| title | The Caption of the dialog box. |
| btnType | The button selection that will be made available in the dialog box. |
Return Value
The windows DialogResult which describes the button that was selected.