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