ImageGlass.ImageBox.IsInputKey C# (CSharp) Method

IsInputKey() protected method

Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys /// One of the values. ///
return bool
        protected override bool IsInputKey(Keys keyData)
        {
            bool result;

            if ((keyData & Keys.Right) == Keys.Right | (keyData & Keys.Left) == Keys.Left | (keyData & Keys.Up) == Keys.Up | (keyData & Keys.Down) == Keys.Down)
            {
                result = true;
            }
            else
            {
                result = base.IsInputKey(keyData);
            }

            return result;
        }
ImageBox