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