Example #1
0
 static void Main(string[] args)
 {
     AsyncTimer timer = new AsyncTimer(5, 1);
     timer.OnTick += timer_OnTick;
     timer.Run();
     Console.WriteLine("55555");
 }
Example #2
0
 static void timer_OnTick(AsyncTimer sender, AsyncTimerTickArgs args)
 {
     Console.WriteLine("sdasdda");
 }