ESRI.ArcGIS.ADF.ArcGISServer.Editor
FormClosing Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor.Design Namespace > MapResourceSelectionEditorForm Class : FormClosing Event




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
Visual Basic (Usage)Copy Code
Dim instance As MapResourceSelectionEditorForm
Dim handler As FormClosingEventHandler
 
AddHandler instance.FormClosing, handler
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.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
CloseReason Gets a value that indicates why the form is being closed.

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

© 2011 All Rights Reserved.