Export (0) Print
Expand All

FormClosedEventArgs Constructor

Initializes a new instance of the FormClosedEventArgs class.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public FormClosedEventArgs(
	CloseReason closeReason
)

Parameters

closeReason
Type: System.Windows.Forms.CloseReason

A System.Windows.Forms.CloseReason value that represents the reason why the form was closed.

The closeReason parameter is used to initialize the CloseReason property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft