Exemplo n.º 1
0
 private void comboBoxMotorSpeed_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (comboBoxMotorSpeed.SelectedItem.ToString() != Focuser.m_MotorSpeed.ToString())
     {
         MyFocuser.SetSpeed(Convert.ToByte(comboBoxMotorSpeed.SelectedItem));
         j = 0;
     }
     bUpdate = false;
 }
Exemplo n.º 2
0
 private void comboBoxMotorSpeed_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (comboBoxMotorSpeed.SelectedItem.ToString() != Focuser.m_MotorSpeed.ToString())
     {
         MyFocuser.SetSpeed(Convert.ToUInt16(comboBoxMotorSpeed.SelectedItem));
         TimerCount = 0;
     }
     bChanging = false;
 }