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