共用方式為


FormClosedEventArgs(CloseReason) 建構函式

定義

初始化 FormClosedEventArgs 類別的新執行個體。

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)

參數

closeReason
CloseReason

CloseReason 值,表示關閉表單的原因。

備註

參數 closeReason 是用來初始化 CloseReason 屬性。

適用於

另請參閱