예제 #1
0
 private void Tempo_Fin_Tick(object sender, EventArgs e)
 {
     if (this.Opacity <= .50)
     {
         new InicioSesion().Show();
         this.Hide();
         Tempo_Fin.Stop();
     }
     else
     {
         Tempo_Fin.Interval = 100;
         this.Opacity      -= .15;
     }
 }
예제 #2
0
        private void Tempo_Inicio_Tick(object sender, EventArgs e)
        {
            if (Opacity == 1)
            {
                Opacidad = true;
            }

            if (Opacidad)
            {
                Tempo_Inicio.Stop();
                Tempo_Fin.Start();
                Tempo_Fin.Interval = 2000;
            }
            else
            {
                this.Opacity += .10;
            }
        }