Beispiel #1
0
 private void setButton_Click(object sender, EventArgs e)
 {
     try
     {
         _kCubeDCServoMotor.SetJogStepSize(jogSizeNumericUpDown.Value);
         // Change font style to bold
         this.jogSizeNumericUpDown.Font = new Font(jogSizeNumericUpDown.Font, FontStyle.Bold);
     }
     catch (Exception ex)
     {
         MessageBox.Show("Failed to set jog step\n" + ex);
     }
     return;
 }