protected bool ProcessKeyPreview(System.Windows.Input.KeyEventArgs e) { if (mdiControl.IsFocused || DRO.IsFocused || spindleControl.IsFocused || workParametersControl.IsFocused) { return(false); } return(GCodeSender.ProcessKeypress(e)); }
protected bool ProcessKeyPreview(System.Windows.Input.KeyEventArgs e) { if (mdiControl.IsFocused || DRO.IsFocused || spindleControl.IsFocused || workParametersControl.IsFocused) { return(false); } return(GCodeSender.ProcessKeypress(e)); }