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