Exemple #1
0
 private void EventsTimer_Tick(object sender, EventArgs e)
 {
     EventCounter++;
     if (EventCounter == MilliSeconds)
     {
         EventsTimer.Stop();
         FadeOut();
     }
 }
Exemple #2
0
 private void TimerStart_Tick(object sender, EventArgs e)
 {
     Count   = Count + 0.1;
     Opacity = Count;
     if (Count >= 1)
     {
         TimerStart.Stop();
         EventsTimer.Start();
     }
 }