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(); } }
private void Splash_Load(object sender, EventArgs e) { TEMPO.Start(); timeLeft = 20; }