Ejemplo n.º 1
0
 private void OnTimeElapsed(int ticksLeft)
 {
     if (this.TimeElapsed != null)
     {
         TimeElapsedEventArgs e = new TimeElapsedEventArgs(ticksLeft);
         TimeElapsed(this, e);
     }
 }
Ejemplo n.º 2
0
 private void OnTimeElapsed(int ticksLeft)
 {
     if (this.TimeElapsed != null)
     {
         TimeElapsedEventArgs e = new TimeElapsedEventArgs(ticksLeft);
         TimeElapsed(this, e);
     }
 }
Ejemplo n.º 3
0
 public static void TimerTimeElapsed(object sender, TimeElapsedEventArgs e)
 {
     Console.WriteLine("Inside timer tick! Time elapsed! Ticks left: {0}.", e.TicksLeft);
 }
Ejemplo n.º 4
0
 public static void TimerTimeElapsed(object sender, TimeElapsedEventArgs e)
 {
     Console.WriteLine("Inside timer tick! Time elapsed! Ticks left: {0}.", e.TicksLeft);
 }