DialogsWarningMessage(IWin32Window, String, String) Method
Shows a warning message dialog with an OK button.
See the
Remarks section of the
WarningMessage(String) overload for more details.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static void WarningMessage(
IWin32Window? owner,
string message,
string? caption = null
)
Public Shared Sub WarningMessage (
owner As IWin32Window,
message As String,
Optional caption As String = Nothing
)
public:
static void WarningMessage(
IWin32Window^ owner,
String^ message,
String^ caption = nullptr
)
static member WarningMessage :
owner : IWin32Window *
message : string *
?caption : string
(* Defaults:
let _caption = defaultArg caption null
*)
-> unit
Parameters
- owner IWin32Window
- An optional window that will own the modal message dialog. If , the DialogsOwner property will be taken.
If DialogsOwner is also , the currently active window will be used.
- message String
- The message to display in the warning dialog.
- caption String (Optional)
- The caption of the dialog. If , a localized string similar to Warning will be used. This parameter is optional.
Default value: .