private void BtnAudioRecord_Click(object sender, RoutedEventArgs e) { // Send selected Wave to Drone // Not working for the moment //MessageBox.Show("Not Working for the moment"); return; string item = cbxSounds.SelectedItem.ToString(); if (!string.IsNullOrEmpty(item)) { controller.StreamAudioToDrone(item); } FakeTxtBox.Focus(); }
private void cbxWifiBand_SelectionChanged(object sender, SelectionChangedEventArgs e) { controller.setWifiBand((SumoEnumGenerated.WifiSelection_band)cbxWifiBand.SelectedItem); FakeTxtBox.Focus(); }
private void ChkBowl_Unchecked(object sender, RoutedEventArgs e) { controller.AddCapabilities(SumoInformations.Capability.Jump); InitUI(); FakeTxtBox.Focus(); }
private void BtnAudioStreamOff_Click(object sender, RoutedEventArgs e) { controller.SetAudioDroneTX(false); FakeTxtBox.Focus(); }
private void SlLight_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e) { // Send Light level to Drone controller.Headlight_Value(e.NewValue); FakeTxtBox.Focus(); }
private void TxtBox_GotFocus(object sender, RoutedEventArgs e) { FakeTxtBox.Focus(); }
private void CbxAudioTheme_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { controller.SetAudioTheme((SumoEnumGenerated.Theme_theme)cbxAudioTheme.SelectedItem); FakeTxtBox.Focus(); }
private void SlVolume_DragCompleted(object sender, System.Windows.Controls.Primitives.DragCompletedEventArgs e) { controller.ChangeVolume((byte)slVolume.Value); FakeTxtBox.Focus(); }
private void BtnSTOP_Click(object sender, RoutedEventArgs e) { controller.STOP(); FakeTxtBox.Focus(); }
private void BtnCancelJump_Click(object sender, RoutedEventArgs e) { controller.CancelJump(); FakeTxtBox.Focus(); }
private void BtnKick_Click(object sender, RoutedEventArgs e) { controller.JumpLoad(); FakeTxtBox.Focus(); }
private void BtnHighJump_Click(object sender, RoutedEventArgs e) { controller.StartJump(LibSumo.Net.Protocol.SumoEnumGenerated.Jump_type.high); FakeTxtBox.Focus(); }
private void BtnDisconnect_Click(object sender, RoutedEventArgs e) { controller.Disconnect(); FakeTxtBox.Focus(); }