internal bool ManageHotKeys(Keys keys)
        {
            if (keys == Keys.None)
            {
                if (mJogKeyRequested)
                {
                    mCore.EndJogV11();
                }
                mJogKeyRequested = false;

                EmulateCustomButtonUp();
                return(false);
            }
            else
            {
                foreach (HotKey hk in this)
                {
                    if (Match(keys, hk.Combination))
                    {
                        return(PerformAction(hk.Action));
                    }
                }

                return(false);
            }
        }
Exemplo n.º 2
0
 private void OnJogButtonMouseUp(object sender, MouseEventArgs e)
 {
     Core.EndJogV11();
 }