Raises the RasterImageList.ItemSelectedForeColorChanged event.
protected virtual void OnItemSelectedForeColorChanged(
Protected Overridable Sub OnItemSelectedForeColorChanged( _
ByVal e As EventArgs _
virtual void OnItemSelectedForeColorChanged(
An System.EventArgs that contains the event data.
Raising an event invokes the event handler through a delegate.
The OnItemSelectedForeColorChanged 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.
Notes to Inheritors: When overriding OnItemSelectedForeColorChanged in a derived class, be sure to call the base class's OnItemSelectedForeColorChanged method so that registered delegates receive the event.
This example overrides the virtual events of the RasterImageList class.
Medical Web Viewer .NET