예제 #1
0
 private void TEMPO_Tick(object sender, EventArgs e)
 {
     if (timeLeft > 0)
     {
         timeLeft           = timeLeft - 1;
         progressBar1.Value = progressBar1.Value + 5;
     }
     else
     {
         TEMPO.Stop();
         new Login().Show();
         this.Hide();
     }
 }
예제 #2
0
 private void Splash_Load(object sender, EventArgs e)
 {
     TEMPO.Start();
     timeLeft = 20;
 }