Rediger

Del via


FormClosedEventArgs(CloseReason) Constructor

Definition

Initializes a new instance of the FormClosedEventArgs class.

public:
 FormClosedEventArgs(System::Windows::Forms::CloseReason closeReason);
public FormClosedEventArgs (System.Windows.Forms.CloseReason closeReason);
new System.Windows.Forms.FormClosedEventArgs : System.Windows.Forms.CloseReason -> System.Windows.Forms.FormClosedEventArgs
Public Sub New (closeReason As CloseReason)

Parameters

closeReason
CloseReason

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

Remarks

The closeReason parameter is used to initialize the CloseReason property.

Applies to

See also