private void onSliderChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            if (lblSliderSetPoint != null)
            {
                //lblSliderSetPoint.Content = tempConverter.Convert(e.NewValue, e.GetType(), null, System.Globalization.CultureInfo.CurrentCulture);
                lblSliderSetPoint.Text = (string)tempConverter.Convert(e.NewValue, e.GetType(), null, System.Globalization.CultureInfo.CurrentCulture);
            }

            SetPointChanged?.Invoke(e.NewValue);
        }
Пример #2
0
 protected virtual void OnSetPointChanged(SetpointEventArgs e)
 {
     SetPointChanged?.Invoke(this, e);
 }