FormClosed Event
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : FormClosed Event



Glossary Item Box

Syntax

Visual Basic (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 FormClosedEventHandler
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim handler As FormClosedEventHandler
 
AddHandler instance.FormClosed, handler
C#  
[SRCategory("Behavior")]
[SRDescription("Occurs whenever the user closes the form, after the form has been closed and specifies the close reason.")]
public event FormClosedEventHandler FormClosed
C++/CLI  
[SRCategory("Behavior")]
[SRDescription("Occurs whenever the user closes the form, after the form has been closed and specifies the close reason.")]
public:
event FormClosedEventHandler^ FormClosed

Event Data

The event handler receives an argument of type 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