예제 #1
0
 public void Unregister(EventTimer timer)
 {
     timer.Timer -= MessageToConsole;
 }
예제 #2
0
 public void Register(EventTimer timer)
 {
     timer.Timer += MessageToConsole;
 }