protected ProcessCmdKey ( |
||
msg | A Message, passed by reference, that represents the window message to process. | |
keyData | Keys | One of the Keys values that represents the key to process. |
Результат | bool |
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);
}