protected virtual void OnKeyRejected(KeyRejectedEventArgs e) { EventHandler <KeyRejectedEventArgs> handler = KeyRejected; if (handler != null) { handler(this, e); } }
/// <summary> /// Raises the KeyRejected event. /// </summary> /// <param name="e">Event arguments.</param> protected virtual void OnKeyRejected(KeyRejectedEventArgs e) { EventHandler<KeyRejectedEventArgs> handler = KeyRejected; if (handler != null) handler(this, e); }