| Visual Basic (Declaration) | |
|---|---|
Public Event FormClosed As FormClosedEventHandler | |
| C# | |
|---|---|
public event FormClosedEventHandler FormClosed | |
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. |