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.AddOnClosing

Adds an event handler for the Closing event. The Closing event is fired when the form is closed.

[Visual Basic]
Public Sub AddOnClosing( _
   ByVal handler As CancelEventHandler _
)
[C#]
public void AddOnClosing(
   CancelEventHandler handler
);
[C++]
public: void AddOnClosing(
   CancelEventHandler* handler
);
[JScript]
public function AddOnClosing(
   handler : CancelEventHandler
);

Parameters

handler
Delegate to call when the event is fired

See Also

Form Class | Form Members | System.WinForms Namespace | CancelEventHandler | RemoveOnClosing