ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem.ProcessShortcut C# (CSharp) Method

ProcessShortcut() public method

Test for the provided shortcut and perform relevant action if a match is found.
public ProcessShortcut ( Keys keyData ) : bool
keyData Keys Key data to check against shorcut definitions.
return bool
        public override bool ProcessShortcut(Keys keyData)
        {
            if (_shortcutKeys == keyData)
            {
                PerformClick();
                return true;
            }
            else
                return false;
        }