DialogsErrorMessage(String, Object) Method

Note: This API is now obsolete.
Shows an error message dialog with an OK button.

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[ObsoleteAttribute("Use ErrorMessage(string) with an already localized message instead.")]
public static void ErrorMessage(
	string message,
	params Object[] args
)

Parameters

message  String
Message with placeholders in invariant language.
args  Object
Arguments for placeholders

Remarks

  Caution

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 ErrorMessage(String) overload for more details.

See Also