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