示例#1
0
        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);
            }
        }
示例#2
0
 private void OnJogButtonMouseUp(object sender, MouseEventArgs e)
 {
     Core.EndJogV11();
 }