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