private void ChannelSliderValueChanged(object sender, System.EventArgs e) { if (EnabledOSC == true) { CustomSlider slider = sender as CustomSlider; message.SendOSC(slider.Tag.ToString(), slider.Value.ToString()); } }
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()); } }