private void btn_voltar_Click(object sender, EventArgs e) { InicialView i = new InicialView(); i.Show(); this.Hide(); }
private void timer1_Tick(object sender, EventArgs e) { pb_login.Visible = true; if (pb_login.Value < pb_login.Maximum) { pb_login.Value += 1; } else { timer1.Stop(); InicialView inicial = new InicialView(); inicial.Show(); this.Hide(); } }