Example #1
0
 private void TimerIn_Tick(object sender, EventArgs e)
 {
     //si tiene menos del 100% de opacidad le sumo 10%
     if (this.Opacity < 1)
     {
         this.Opacity += 0.1;
     }
     //paro el timer en 100%
     if (this.Opacity == 1)
     {
         TimerIn.Stop();
     }
 }