'Declaration Protected Overrides Sub OnBorderColorChanged( _ ByVal e As System.EventArgs _ )
protected override void OnBorderColorChanged( System.EventArgs e )
Parameters
- e
- An System.EventArgs that contains the event data.
'Declaration Protected Overrides Sub OnBorderColorChanged( _ ByVal e As System.EventArgs _ )
protected override void OnBorderColorChanged( System.EventArgs e )
Raising an event invokes the event handler through a delegate.
The OnBorderColorChanged 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 OnBorderColorChanged in a derived class, be sure to call the base class's OnBorderColorChanged method so that registered delegates receive the event.