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 属性。

适用于

另请参阅