示例#1
0
 public void OnTimerButtonClickEvent()
 {
     timer.Enabled = !timer.Enabled;
     if (!timer.Enabled)
     {
         TimerStopEvent.Invoke(seconds);
     }
     seconds = 0;
 }
示例#2
0
 private void Stop(TimerStopEvent e)
 {
     Stop();
 }