Example #1
0
        private static void OnFinalValueHourChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericUpDownTime control = (NumericUpDownTime)d;

            control.UpdateText(e.Property.Name);
            if (control.ValueHour != control.FinalValueHour)
            {
                control.ValueHour = control.FinalValueHour;
            }
        }
Example #2
0
        private static void OnValueMinuteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericUpDownTime control = (NumericUpDownTime)d;

            control.UpdateText(e.Property.Name);
        }