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