private void btniniciarsesion_Click(object sender, EventArgs e) { FrmIniciarSesion fh = new FrmIniciarSesion(); fh.Show(); this.Hide(); }
private void timer1_Tick(object sender, EventArgs e) { panel2.Width += 7; if (panel2.Width >= 600) { timer1.Stop(); FrmIniciarSesion f2 = new FrmIniciarSesion(); f2.Show(); this.Hide(); } }