private void cERRARSESIONToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult result = MessageBox.Show("¿Estás seguro que desea cerrar la sesión actual?", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); if (result == DialogResult.OK) { lo.Show(); this.Close(); } }
private void btnAdmin_Click(object sender, EventArgs e) { Loguin log = new Loguin(); log.Show(); this.Hide(); }
private void btnAdmin_Click(object sender, EventArgs e) { Loguin busqueda = new Loguin(); //busqueda.MdiParent = this; busqueda.Show(); }
private void btnSair_Click(object sender, EventArgs e) { this.Hide(); Loguin loguin = new Loguin(); loguin.Closed += (s, args) => this.Close(); loguin.Show(); }
private void administrarBeneficiariosToolStripMenuItem_Click(object sender, EventArgs e) { Loguin frmL = new Loguin(); frmL.Show(); }