NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form Closing Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the Closing event.

[Visual Basic]
Private Sub FormName_Closing( _
   ByVal sender As Object, _
   ByVal e As CancelEventArgs _
)
[C#]
private void FormName_Closing(
   object sender,
   CancelEventArgs e
);
[C++]
private: void FormName_Closing(
   Object* sender,
   CancelEventArgs* e
);
[JScript]
private FormName_Closing(
   sender : Object,
   e : CancelEventArgs
);

Parameters

sender
The source of the event.
e
A CancelEventArgs that contains the event data. The following CancelEventArgs properties provide information specific to this event.
Property Description
Cancel
Gets or sets a value indicating whether the operation should be cancelled.

See Also

Form Class | Form MembersTopic | System.WinForms Namespace