CloseQueryEventArgs

Assembly: Forms;

Description

The CloseQueryEventArgs class implements argument of the OnCloseQuery event that occurs when the form receives command for closing.

Constructors

  Constructor name Brief description
Create The Create constructor creates an argument of the OnCloseQuery event specifying the indicator of closing.
CreateArgs The CreateArgs constructor creates an argument of the OnCloseQuery event specifying the indicator of closing and the reason of form closing.

Class object properties inherited from ICloseQueryEventArgs

  Property name Brief description
CloseReason The CloseReason property returns the reason of form closing.

Class object methods inherited from ICancelEventArgs

   Property name Brief description
Allowed The Allowed property determines whether it is possible to execute any action.

See also:

Forms Assembly Classes