Esempio n. 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();
     }
 }
Esempio n. 2
0
 private void FirstWaitTimer_Tick(object sender, EventArgs e)
 {
     AniTimer.Start();
     FirstWaitTimer.Stop();
 }
Esempio n. 3
0
 private void TitleLabel_MouseEnter(object sender, EventArgs e)
 {
     AniTimer.Start();
     MouseOn = true;
 }