Exemplo n.º 1
0
        private void btnsalir_Click(object sender, EventArgs e)
        {
            Menu_Principal menu = new Menu_Principal();

            this.Close();
            menu.Visible = true;
        }
Exemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("¿Desea Regresar al Menu Principal?\nPerdera la informacion Ingresada.", "¡PREGUNTA!", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         Menu_Principal pantalla_Menu = new Menu_Principal();
         this.Close();
         pantalla_Menu.Visible = true;
     }
 }