FormClosedEventArgs(CloseReason) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.