Пример #1
0
        protected bool ProcessKeyPreview(System.Windows.Input.KeyEventArgs e)
        {
            if (mdiControl.IsFocused || DRO.IsFocused || spindleControl.IsFocused || workParametersControl.IsFocused)
            {
                return(false);
            }

            return(GCodeSender.ProcessKeypress(e));
        }