System.Windows.Forms.FormClosedEventArgs Class

Provides data for the Form.FormClosed event.

See Also: FormClosedEventArgs Members

Syntax

public class FormClosedEventArgs : EventArgs

Remarks

The Form.FormClosed event occurs after a form is closed, either by the user, through the user interface (UI), or programmatically, through calls to methods such as Form.Close in the System.Windows.Forms.Form class, or Application.Exit in the System.Windows.Forms.Application class. If a form has any child or owned forms, a Form.FormClosed event is also raised for each one.

The System.Windows.Forms.FormClosedEventArgs class provides data for the Form.FormClosed event. The FormClosedEventArgs.CloseReason property provides the reason why the form is being closed.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0