| 
 | 
 | 
 | 
| 
        | OnCloseButtonClicked Method, SftTabs Class | 
Raises the CloseButtonClicked event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
| VB | Protected Overridable Sub OnCloseButtonClicked( ByVal e As EventArgs ) | 
| C# | protected virtual void OnCloseButtonClicked( EventArgs e ); | 
| C++ | protected: virtual void OnCloseButtonClicked( EventArgs^ e ); | 
e
An EventArgs that contains the event data.
Comments
The OnCloseButtonClicked method raises the CloseButtonClicked event.
Raising an event invokes the event handler through a delegate.
The OnCloseButtonClicked 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 OnCloseButtonClicked in a derived class, make sure to call the base class's OnCloseButtonClicked method so that registered delegates receive the event.