FormClosingEventsArgs Class

Provides data for the FormClosing event from a Form control.

Namespace: elsystem.windows.forms

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Cancel bool True if the form closing event should be canceled. This allows you to determine if the form should be closed based on the reason.
Public property CloseReason enum Gets the reason a form is being closed.  See CloseReason for a list.
Inheritance Hierarchy

elsystem.Object

elsystem.EventArgs

elsystem.windows.forms.FormClosingEventArgs