示例#1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            progressBar1.Increment(4);

            if (progressBar1.Value == 100)
            {
                timer1.Stop();
                InicioSesion.InicioSesion frm = new InicioSesion.InicioSesion();
                this.Hide();
                frm.Show();
            }
        }
 private void label7_Click(object sender, EventArgs e)
 {
     InicioSesion.InicioSesion frm = new InicioSesion.InicioSesion();
     this.Hide();
     frm.Show();
 }