protected virtual void OnClosing(System.ComponentModel.CancelEventArgs e) { CancelEventHandler eh = (CancelEventHandler)(Events [ClosingEvent]); if (eh != null) eh (this, e); }