internal void Start() { if (MyDispatcherTimer.IsEnabled == true) { Stop(); } TimerValue = TimerStartValue; MyDispatcherTimer.Interval = CalculateTimerTickSize(); MyDispatcherTimer.Start(); IfTimeZeroThenStop(); CountingDown = true; }
internal void Stop() { MyDispatcherTimer.Stop(); CountingDown = false; }