ICloseQueryEventArgs

Assembly: Forms;

Description

The ICloseQueryEventArgs interface contains properties of the argument of the OnCloseQuery event that occurs when the form receives a command for closing.

Inheritance Hierarchy

          IEventArgs

          ICancelEventArgs

          ICloseQueryEventArgs

Properties

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

Properties inherited from ICancelEventArgs

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

See also:

Forms Assembly Interfaces