Listen to GUI events and perform actions depending on the button sending the event.
| C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Use DialogView_Closing instead.", true)] protected virtual void CancelActionPerformed( Object sender, CancelEventArgs e )
<ObsoleteAttribute("Use DialogView_Closing instead.", True)> _ Protected Overridable Sub CancelActionPerformed ( _ sender As Object, _ e As CancelEventArgs _ )
[ObsoleteAttribute(L"Use DialogView_Closing instead.", true)] protected: virtual void CancelActionPerformed( Object^ sender, CancelEventArgs^ e )
- sender (Object)
- e (CancelEventArgs)