Class ErrorDialog
Error dialog for user
Inheritance
System.Object
ErrorDialog
Namespace: Virinco.WATS.Interface.MES
Assembly: Virinco.WATS.Interface.MES.dll
Syntax
public class ErrorDialog : Form
Constructors
ErrorDialog(MesBase, String, String, String, String, Boolean)
Displays an error message to user
Declaration
public ErrorDialog(MesBase apiRef, string cultureCode, string Caption, string Header, string Message, bool AlwaysOnTop = true)
Parameters
| Type | Name | Description |
|---|---|---|
| MesBase | apiRef | |
| System.String | cultureCode | |
| System.String | Caption | |
| System.String | Header | |
| System.String | Message | |
| System.Boolean | AlwaysOnTop |
Properties
Caption
Dialog caption
Declaration
public string Caption { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Header
Dialog header
Declaration
public string Header { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Message
Dialog message
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | true if managed resources should be disposed; otherwise, false. |