Ejemplo n.º 1
0
        internal void Start()
        {
            if (MyDispatcherTimer.IsEnabled == true)
            {
                Stop();
            }

            TimerValue = TimerStartValue;
            MyDispatcherTimer.Interval = CalculateTimerTickSize();
            MyDispatcherTimer.Start();
            IfTimeZeroThenStop();
            CountingDown = true;
        }
Ejemplo n.º 2
0
 internal void Stop()
 {
     MyDispatcherTimer.Stop();
     CountingDown = false;
 }