Raises the Cancelling event when the user requests to close the form.
Namespace: System.Extensions.Windows.FormsAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
protected virtual void OnCancelling(
CancelEventArgs e
) |
Visual Basic |
---|
Protected Overridable Sub OnCancelling (
e As CancelEventArgs
) |
Visual C++ |
---|
protected:
virtual void OnCancelling(
CancelEventArgs^ e
) |
F# |
---|
abstract OnCancelling :
e : CancelEventArgs -> unit
override OnCancelling :
e : CancelEventArgs -> unit |
See Also