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