Syntax
Visual Basic (Declaration) | |
---|
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("Occurs whenever the user closes the form, before the form has been closed and specifies the close reason.")>
Public Event FormClosing As FormClosingEventHandler |
C# | |
---|
[SRCategoryAttribute("Behavior")]
[SRDescriptionAttribute("Occurs whenever the user closes the form, before the form has been closed and specifies the close reason.")]
public event FormClosingEventHandler FormClosing |
Event Data
The event handler receives an argument of type FormClosingEventArgs containing data related to this event. The following FormClosingEventArgs properties provide information specific to this event.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also