private void Contador2_Tick(object sender, EventArgs e) { // OPACIDAD Y EFECTO SUAVIZADO DE APERTURA / CIERRE this.Opacity -= 0.1; if (this.Opacity == 0) { Contador2.Stop(); this.Close(); } }
private void Contador1_Tick(object sender, EventArgs e) { if (this.Opacity < 1) { this.Opacity += .08; } ProgresoAnimacion.Value += 1; ProgresoAnimacion.Text = ProgresoAnimacion.Value.ToString(); if (ProgresoAnimacion.Value == 100) { Contador1.Stop(); // TEMPORIZADOR 1 ALTO TOTAL Contador2.Start(); // TEMPORIZADOR 2 INICIO DE CONTEO } }