示例#1
0
 public void Stop()
 {
     if (timer != null)
     {
         timer.Stop();
         timer = null;
     }
 }
示例#2
0
 public void Start()
 {
     Stop();
     timer = new TimerHolder(Interval, CallBack);
 }