コード例 #1
0
 public void OnTimerTimeout(object sender, TimeoutEventArgs e)
 {
     System.Console.WriteLine("First listener: timer {0} reached {1} second timeout.", sender, e.Seconds);
 }
コード例 #2
0
 protected virtual void OnTimeout(object sender, TimeoutEventArgs e)
 {
     Timeout(sender, e);
 }