protected virtual void OnActiveTabChanged(EventArgs e) { var eh = Events[EventActiveTabChanged] as EventHandler; if(eh != null) eh(this, e); }