Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FormClosedEventArgs Constructor
Collapse the table of content
Expand the table of content

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