'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("FormOnFormClosedDescr")> Public Event FormClosed As System.Windows.Forms.FormClosedEventHandler
'Usage
Dim instance As LicenseDialog Dim handler As System.Windows.Forms.FormClosedEventHandler AddHandler instance.FormClosed, handler
[SRCategory("CatBehavior")] [SRDescription("FormOnFormClosedDescr")] public event System.Windows.Forms.FormClosedEventHandler FormClosed
public event FormClosed: System.Windows.Forms.FormClosedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatBehavior")] [SRDescription("FormOnFormClosedDescr")] public: __event System.Windows.Forms.FormClosedEventHandler* FormClosed
[SRCategory("CatBehavior")] [SRDescription("FormOnFormClosedDescr")] public: event System.Windows.Forms.FormClosedEventHandler^ FormClosed
Event Data
The event handler receives an argument of type System.Windows.Forms.FormClosedEventArgs containing data related to this event. The following FormClosedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CloseReason | Gets a value that indicates why the form was closed. |
Requirements