private void Axis_up(object sender, MouseEventArgs e) { if (comboJogStep.SelectedIndex != 0) { return; } if (AxisContinuesJogPressed == null) { return; } JogButton b = (JogButton)sender; AxisContinuesJogPressed(this, b.Id, 0, 0); }
private void AxisNeg_down(object sender, MouseEventArgs e) { if (comboJogStep.SelectedIndex != 0) { return; } if (AxisContinuesJogPressed == null) { return; } JogButton b = (JogButton)sender; SetCurrentAxis(b.Id); AxisContinuesJogPressed(this, b.Id, -1, valueSlideJogSpeedXYZ.Value); }
private void AxisPos_click(object sender, EventArgs e) { if (comboJogStep.SelectedIndex <= 0) { return; } if (AxisStepJogPressed == null) { return; } JogButton b = (JogButton)sender; SetCurrentAxis(b.Id); AxisStepJogPressed(this, b.Id, GetSelectedJogStep()); }
private void AxisNeg_click(object sender, EventArgs e) { if (comboJogStep.SelectedIndex == 0) { return; } if (AxisStepJogPressed == null) { return; } JogButton b = (JogButton)sender; SetCurrentAxis(b.Id); AxisStepJogPressed(this, b.Id, -GetSelectedJogStep(), valueSlideJogSpeedXYZ.Value); }
private void AxisPos_down(object sender, MouseEventArgs e) { if (comboJogStep.SelectedIndex != 0) { return; } if (AxisContinuesJogPressed == null) { return; } JogButton b = (JogButton)sender; SetCurrentAxis(b.Id); AxisContinuesJogPressed(this, b.Id, 1); }