Skip to main content
Version: 4.1

CloseReason

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Specifies the reason that a form was closed.

public enum CloseReason : Enum

Fields

NameDescription
ApplicationExitThe application is terminating.
FormOwnerClosingThe owner control form is closing.
MdiFormClosingThe parent form of this multiple document interface (MDI) form is closing.
NoneThe cause of the closure was not defined or could not be determined.
UserClosingThe user is closing the form through the user interface (UI).

Used By

NameDescription
Form.CloseReasonReturns the reason for the form closing.
FormClosedEventArgs.CloseReasonReturns a value that indicates why the form was closed.
FormClosingEventArgs.CloseReasonReturns a value that indicates why the form is being closed.
IWisejWindow.CloseCloses the window.