示例#1
0
        internal void Start()
        {
            if (MyDispatcherTimer.IsEnabled == true)
            {
                Stop();
            }

            TimerValue = TimerStartValue;
            MyDispatcherTimer.Interval = CalculateTimerTickSize();
            MyDispatcherTimer.Start();
            IfTimeZeroThenStop();
            CountingDown = true;
        }
示例#2
0
 internal void Stop()
 {
     MyDispatcherTimer.Stop();
     CountingDown = false;
 }