'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("FormOnFormClosedDescr")> Public Event FormClosed As System.Windows.Forms.FormClosedEventHandler
'Usage
Dim instance As WorkbookDesigner Dim handler As System.Windows.Forms.FormClosedEventHandler AddHandler instance.FormClosed, handler
[SRCategory("CatBehavior")] [SRDescription("FormOnFormClosedDescr")] public event System.Windows.Forms.FormClosedEventHandler FormClosed
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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2