ComponentFactory.Krypton.Ribbon.RecentDocController.KeyPress C# (CSharp) Method

KeyPress() public method

Key has been pressed.
public KeyPress ( Control c, KeyPressEventArgs e ) : void
c System.Windows.Forms.Control Reference to the source control instance.
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
return void
        public virtual void KeyPress(Control c, KeyPressEventArgs e)
        {
            Debug.Assert(c != null);
            Debug.Assert(e != null);

            // Validate incoming references
            if (c == null) throw new ArgumentNullException("c");
            if (e == null) throw new ArgumentNullException("e");

            _viewManager.KeyMnemonic(e.KeyChar);
        }