Example #1
0
 private void FadeEffectTime_Tick(object sender, EventArgs e)
 {
     if (this.Opacity > 0.00)
     {
         this.Opacity -= 0.025;
     }
     else
     {
         FadeEffectTime.Stop();
         Application.Exit();
     }
 }
Example #2
0
 private void ExitBtn_Click(object sender, EventArgs e)
 {
     FadeEffectTime.Start();
 }