/// <summary> /// Start the stopwatch timer. /// </summary> public void CreatePanelTimer() { stopWatch.Start(); tmState = SWTimerState.started; Device.StartTimer(new TimeSpan(0, 0, 0, 0, 1), PanelTimerFunc); }
/// <summary> /// Stop the stopwatch timer. /// </summary> public void StopPanelTimer() { stopWatch.Stop(); tmState = SWTimerState.stopped; }
/// <summary> /// Reset the stopwatch timer. /// </summary> public void ResetPanelTimer() { stopWatch.Reset(); tmState = SWTimerState.init; }