Beispiel #1
0
 static void tick1(Object sender, EventArgs e)
 {
     if (counter++ == 100)
     {
         timer.stop();
         stopWatch.Stop();
         autoEvent.Set();
     }
 }