Exemplo n.º 1
0
 public void Stop()
 {
     if (timer != null)
     {
         timer.Stop();
         timer = null;
     }
 }
Exemplo n.º 2
0
 public void Start()
 {
     Stop();
     timer = new TimerHolder(Interval, CallBack);
 }