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