private void salirToolStripMenuItem_Click_1(object sender, EventArgs e) { this.Close(); frm_login LoginOb = new frm_login(); LoginOb.Show(); }
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 { } }