DialogsWarningMessage(String, Object) Method
Note: This API is now obsolete.
Shows a warning message dialog with an OK button.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
[ObsoleteAttribute("Use WarningMessage(string) with an already localized message instead.")]
public static void WarningMessage(
string message,
params Object[] args
)
<ObsoleteAttribute("Use WarningMessage(string) with an already localized message instead.")>
Public Shared Sub WarningMessage (
message As String,
ParamArray args As Object()
)
public:
[ObsoleteAttribute(L"Use WarningMessage(string) with an already localized message instead.")]
static void WarningMessage(
String^ message,
... array<Object^>^ args
)
[<ObsoleteAttribute("Use WarningMessage(string) with an already localized message instead.")>]
static member WarningMessage :
message : string *
args : Object[] -> unit
Parameters
- message String
- Message with placeholders in invariant language.
- args Object
- Arguments for placeholders
This overload does not translate the
message parameter anymore, just removes the possibly existing distinction postfix,
and simply formats it with the
args parameters. See the
Remarks section of the
WarningMessage(String) overload for more details.