Beispiel #1
0
 private void Value_sl_LowerValueChanged(object sender, MahApps.Metro.Controls.RangeParameterChangedEventArgs e)
 {
     if (High - e.NewValue < MinRangeWidth)
     {
         Low = (ushort)e.OldValue;
         return;
     }
     ValueChanged?.Invoke(this, null);
 }
Beispiel #2
0
 private void rangeSlider_LowerValueChanged(object sender, MahApps.Metro.Controls.RangeParameterChangedEventArgs e)
 {
     setTimeTextbox.Text = myAllProps.rangeSliderCurrentMinValue.ToString("e5") + ":" + myAllProps.rangeSliderCurrentMaxValue.ToString("e5");
 }
 private void valueSlider_UpperValueChanged(object sender, MahApps.Metro.Controls.RangeParameterChangedEventArgs e)
 {
     updateRangeSliders();
 }
 private void saturationSlider_LowerValueChanged(object sender, MahApps.Metro.Controls.RangeParameterChangedEventArgs e)
 {
     updateRangeSliders();
 }