Beispiel #1
0
        private void salirToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            this.Close();
            frm_login LoginOb = new frm_login();

            LoginOb.Show();
        }
Beispiel #2
0
 private void btm_Logout_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("¿Está seguro que desea salir?", "Alerta", MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         frm_login obLogin = new frm_login();
         obLogin.Show();
         this.Close();
     }
     else
     {
     }
 }