|
|
|
|
OnSwitchingDisabled Method, SftTabs Class |
Raises the SwitchingDisabled event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Protected Overridable Sub OnSwitchingDisabled( ByVal e As SwitchingEventArgs ) |
C# |
protected virtual void OnSwitchingDisabled( SwitchingEventArgs e ); |
C++ |
protected: virtual void OnSwitchingDisabled( SwitchingEventArgs^ e ); |
e
A SwitchingEventArgs that contains the event data.
Comments
The OnSwitchingDisabled method raises the SwitchingDisabled event.
Raising an event invokes the event handler through a delegate.
The OnSwitchingDisabled method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding OnSwitchingDisabled in a derived class, make sure to call the base class's OnSwitchingDisabled method so that registered delegates receive the event.