'Declaration
<SRCategoryAttribute("Behavior")> <SRDescriptionAttribute("Occurs whenever the user closes the form, after the form has been closed and specifies the close reason.")> Public Event FormClosed As System.Windows.Forms.FormClosedEventHandler
'Usage
Dim instance As EditSourceDialog Dim handler As System.Windows.Forms.FormClosedEventHandler AddHandler instance.FormClosed, handler
[SRCategory("Behavior")] [SRDescription("Occurs whenever the user closes the form, after the form has been closed and specifies the close reason.")] 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
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
See Also