示例#1
0
        private void btniniciarsesion_Click(object sender, EventArgs e)
        {
            FrmIniciarSesion fh = new FrmIniciarSesion();

            fh.Show();
            this.Hide();
        }
示例#2
0
 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();
     }
 }