Esempio n. 1
0
        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);
 }