ProcessShortcut() публичный Метод

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.
Результат bool
Пример #1
0
        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            // If we have a defined context menu then need to check for matching shortcut
            if (KryptonContextMenu != null)
                if (KryptonContextMenu.ProcessShortcut(keyData))
                    return true;

            return base.ProcessCmdKey(ref msg, keyData);
        }