Example #1
0
 public void EventCaught(Timer t, EventArgs e)
 {
     Console.WriteLine("Tick!");
 }
Example #2
0
 public void Subscribe(Timer t)
 {
     t.Tick += new Timer.TimerHandler(EventCaught);
 }