CloseQueryEventArgs

Assembly: Forms;

Namespace: Prognoz.Platform.Interop.Forms;

Description

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

Fore.NET Syntax

Class to get analog of the CloseQueryEventArgs class:

None;

Class to get analog of the CloseQueryEventArgs class object:

CloseQueryEventArgsClass;

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
AllowChange Outdated. The AllowChange property determines whether it is possible to execute any action. This property is obsolete.
Allowed The Allowed property determines whether it is possible to execute any action.
CanClose Outdated. The CanClose property determines whether it is possible to execute any action. The property is outdated.

See also:

Forms Assembly Classes