private void portButton_Click(object sender, EventArgs e) { servoController.Open(); servoController.setAngle(90, 90); hTrackBar.MouseUp += UAS_hTrackBarMoved; vTrackBar.MouseUp += UAS_vTrackBarMoved; }