Exemple #1
0
 private void Timer1_Tick(object sender, EventArgs e)
 {
     if (MouseOn)
     {
         if (!Opacity == 1)
         {
             Opacity += 0.02;
         }
     }
     else if (Opacity > 0.8)
     {
         Opacity -= 0.02;
     }
     else
     {
         AniTimer.Stop();
     }
 }
Exemple #2
0
 private void FirstWaitTimer_Tick(object sender, EventArgs e)
 {
     AniTimer.Start();
     FirstWaitTimer.Stop();
 }
Exemple #3
0
 private void TitleLabel_MouseEnter(object sender, EventArgs e)
 {
     AniTimer.Start();
     MouseOn = true;
 }