Пример #1
0
        private bool adjustJog2(Key key)
        {
            switch (key)
            {
            case Key.NumPad2:
                JogData.FeedDec();
                return(true);

            case Key.NumPad4:
                JogData.StepDec();
                return(true);

            case Key.NumPad6:
                JogData.StepInc();
                return(true);

            case Key.NumPad8:
                JogData.FeedInc();
                return(true);
            }

            return(true);
        }