Esempio n. 1
0
 private void resetButton_Click(object sender, EventArgs e)
 {
     if (!Drone.Data.State.IsIdle())
     {
         return;
     }
     Drone.SendReset();
 }
Esempio n. 2
0
 private void resetButton_Click(object sender, EventArgs e)
 {
     if (Drone.Data.State != DroneState.Reset && Drone.Data.State != DroneState.Stopped && Drone.Data.State != DroneState.Idle)
     {
         return;
     }
     Drone.SendReset();
 }
Esempio n. 3
0
        private void restartButton_Click(object sender, EventArgs e)
        {
            if (bindingError)
            {
                return;
            }

            drone.SendReset();
        }
Esempio n. 4
0
 private void restartButton_Click(object sender, EventArgs e)
 {
     drone.SendReset();
 }