Esempio n. 1
0
 private void BeatControlsChanged(object sender, EventArgs e)
 {
     if (EnabledOSC == true)
     {
         BeatControls beatcontrols = sender as BeatControls;
         cd = DataContext as ChannelData;
         message.SendOSC(cd.Name + "/" + beatcontrols.Name, beatcontrols.Multiplier.ToString());
     }
 }
Esempio n. 2
0
 private void SliderValueChanged(object sender, EventArgs e)
 {
     if (EnabledOSC == true)
     {
         CustomSlider slider = sender as CustomSlider;
         cd = DataContext as ChannelData;
         message.SendOSC(cd.Name + "/" + slider.Name, slider.Value.ToString());
     }
 }
Esempio n. 3
0
 private void ComboBoxSelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (EnabledOSC == true)
     {
         ComboBox combobox = sender as ComboBox;
         if (combobox.SelectedItem != null)
         {
             cd = DataContext as ChannelData;
             message.SendOSC(cd.Name + "/" + combobox.Name, combobox.SelectedItem.ToString());
         }
     }
 }