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