CloseReason
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Specifies the reason that a form was closed.
- C#
- VB.NET
public enum CloseReason : Enum
Public Enum CloseReason As [Enum]
Fields
| Name | Description |
|---|---|
| ApplicationExit | The application is terminating. |
| FormOwnerClosing | The owner control form is closing. |
| MdiFormClosing | The parent form of this multiple document interface (MDI) form is closing. |
| None | The cause of the closure was not defined or could not be determined. |
| UserClosing | The user is closing the form through the user interface (UI). |
Used By
| Name | Description |
|---|---|
| Form.CloseReason | Returns the reason for the form closing. |
| FormClosedEventArgs.CloseReason | Returns a value that indicates why the form was closed. |
| FormClosingEventArgs.CloseReason | Returns a value that indicates why the form is being closed. |
| IWisejWindow.Close | Closes the window. |