FormClosedEventArgs(CloseReason) FormClosedEventArgs(CloseReason) FormClosedEventArgs(CloseReason) Constructor

Определение

Инициализирует новый экземпляр класса FormClosedEventArgs.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

Параметры

closeReason
CloseReason CloseReason CloseReason

Значение CloseReason, представляющее причину закрытия формы.A CloseReason value that represents the reason why the form was closed.

Комментарии

Параметр используется для CloseReason инициализации свойства. closeReasonThe closeReason parameter is used to initialize the CloseReason property.

Применяется к

Дополнительно