private void timer1_Tick(object sender, EventArgs e) { this.progressBar1.Increment(1); if (progressBar1.Value == 100) { timer1.Stop(); frm_login entrada = new frm_login(); entrada.Show(); this.Hide(); } }