private static void OnDelayChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TimeBox ctrl = (TimeBox)d;

            ctrl.RaiseChangeDelay();
            ctrl.OnDelayChanged((int)e.OldValue, (int)e.NewValue);
        }
        /// <summary>
        /// 数据已经事件,触发
        /// </summary>
        /// <param name="d"></param>
        /// <param name="e"></param>
        private static void OnValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TimeBox _TimeBox = (TimeBox)d;

            if (null != _TimeBox && e.NewValue is string && _TimeBox._hourTextBox != null && null != _TimeBox._minuteTextBox)
            {
                _TimeBox.OnValueChanged((string)e.OldValue, (string)e.NewValue);
            }
        }
        private static void OnStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TimeBox nud = (TimeBox)d;

            nud.SetRemoveStringFormatFromText((string)e.NewValue);
        }
        private static void OnSpeedupChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TimeBox ctrl = (TimeBox)d;

            ctrl.OnSpeedupChanged((bool)e.OldValue, (bool)e.NewValue);
        }