protected virtual void OnValidating (CancelEventArgs e) { CancelEventHandler eh = (CancelEventHandler)(Events [ValidatingEvent]); if (eh != null) eh (this, e); }