예제 #1
0
 public void StopCountdown(object sender, TimerEventArgs e)
 {
     Console.WriteLine($"Name of timer {Timer.Name}");
     TimeComplete(Timer.Name, e.TimeSeconds.ToString());
 }
예제 #2
0
 public void StartCountdown(object sender, TimerEventArgs e)
 {
     Console.WriteLine($"Name of timer {Timer.Name}");
     StartTimeTask(sender, e);
 }