'Declaration Public Event FormClosing As System.Windows.Forms.FormClosingEventHandler
public event System.Windows.Forms.FormClosingEventHandler FormClosing
Event Data
The event handler receives an argument of type System.Windows.Forms.FormClosingEventArgs containing data related to this event. The following FormClosingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
CloseReason | Gets a value that indicates why the form is being closed. |
See Also