Ejemplo n.º 1
0
        private void picBoxInicio_Click(object sender, EventArgs e)
        {
            Inicio1 fm = new Inicio1(); //abre un nuevo formulario y cierra el principal sin terminar la ejecucion

            this.Hide();
            fm.ShowDialog();
            this.Close();//para cerrar
        }
Ejemplo n.º 2
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            Inicio1 fm = new Inicio1();

            this.Hide();
            fm.ShowDialog();
            this.Close();
        }