The error window that can show errors, warnings and messages.
More...
|
| | ErrorWindow () |
| | The default error window constructor. Creates an error window with the title "Error", short description "An error has occured", a long description of "None" and message type of ERROR. More...
|
| |
| | ErrorWindow (string title, string brief, string desc, int type) |
| | The error window constructor. It is responsible for creating an error form which shows the user information depending on the parameters. More...
|
| |
| void | SetPicture (int type) |
| | Sets the picture of the window. More...
|
| |
|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
|
| Dictionary< int, Image > | IMAGEDIR |
| | The image directory which links the message types to the image to display. More...
|
| |
The error window that can show errors, warnings and messages.
◆ ErrorWindow() [1/2]
| Advanced_Software_Engineering.ErrorWindow.ErrorWindow |
( |
| ) |
|
The default error window constructor. Creates an error window with the title "Error", short description "An error has occured", a long description of "None" and message type of ERROR.
◆ ErrorWindow() [2/2]
| Advanced_Software_Engineering.ErrorWindow.ErrorWindow |
( |
string |
title, |
|
|
string |
brief, |
|
|
string |
desc, |
|
|
int |
type |
|
) |
| |
The error window constructor. It is responsible for creating an error form which shows the user information depending on the parameters.
- Parameters
-
| title | Title of the window |
| brief | A brief description of the message |
| desc | A detailed description of the message |
| type | The type of message (can either be: ERROR_MESSAGE, WARNING_MESSAGE or INFO_MESSAGE |
◆ Dispose()
| override void Advanced_Software_Engineering.ErrorWindow.Dispose |
( |
bool |
disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
◆ SetPicture()
| void Advanced_Software_Engineering.ErrorWindow.SetPicture |
( |
int |
type | ) |
|
Sets the picture of the window.
- Parameters
-
| type | The type of message (can either be: ERROR_MESSAGE, WARNING_MESSAGE or INFO_MESSAGE |
◆ ERROR_MESSAGE
| const int Advanced_Software_Engineering.ErrorWindow.ERROR_MESSAGE = 0 |
|
static |
◆ IMAGEDIR
| Dictionary<int, Image> Advanced_Software_Engineering.ErrorWindow.IMAGEDIR |
|
protected |
Initial value:= new Dictionary<int, Image> {
}
The image directory which links the message types to the image to display.
◆ INFO_MESSAGE
| const int Advanced_Software_Engineering.ErrorWindow.INFO_MESSAGE = 2 |
|
static |
◆ WARNING_MESSAGE
| const int Advanced_Software_Engineering.ErrorWindow.WARNING_MESSAGE = 1 |
|
static |
The documentation for this class was generated from the following files:
- Advanced Software Engineering/Windows/ErrorWindow.cs
- Advanced Software Engineering/Windows/ErrorWindow.Designer.cs