Assembly: Forms;
The ICloseQueryEventArgs interface contains properties of the argument of the OnCloseQuery event that occurs when the form receives a command for closing.
ICloseQueryEventArgs
Property name | Brief description | |
CloseReason | The CloseReason property returns the reason of form closing. |
Property name | Brief description | |
Allowed | The Allowed property determines whether it is possible to execute any action. |
See also: