Esempio n. 1
0
        private void sliderItemRadiusFromCenter_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            if (TheMainWindow == null)
            {
                return;
            }

            Config.PieItemRadiusFromCenter = sliderItemRadiusFromCenter.Value;

            labelItemRadiusFromCenterValue.Content = Config.PieItemRadiusFromCenter.ToString("0");

            TheMainWindow.UpdateItemAppearance();
        }
Esempio n. 2
0
        private void sliderItemNormalOpacity_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            if (TheMainWindow == null)
            {
                return;
            }

            Config.PieItemNormalOpacity = sliderItemNormalOpacity.Value;

            labelItemNormalOpacityValue.Content = Config.PieItemNormalOpacity.ToString("0.##");

            TheMainWindow.UpdateItemAppearance();
        }