ComponentFactory.Krypton.Toolkit.SeparatorController.KeyUp C# (CSharp) Méthode

KeyUp() public méthode

Key has been released.
public KeyUp ( Control c, KeyEventArgs e ) : bool
c System.Windows.Forms.Control Reference to the source control instance.
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
Résultat bool
        public override bool KeyUp(Control c, KeyEventArgs e)
        {
            Debug.Assert(e != null);

            // Validate reference parameter
            if (e == null) throw new ArgumentNullException("e");

            // If the user pressed the escape key
            if (e.KeyCode == Keys.Escape)
            {
                // If we are capturing mouse input
                if (_moving)
                    AbortMoving();
            }

            return _moving;
        }