protected virtual void OnAppearanceChanged(EventArgs e) { EventHandler eh = (EventHandler)(Events [AppearanceChangedEvent]); if (eh != null) eh (this, e); }