private void rolesDelSistemaToolStripMenuItem_Click(object sender, EventArgs e) { if (_SESION.ComprobarPermiso(4)) { GestionBasica.GUI.GestionRoles frm = new GestionBasica.GUI.GestionRoles(); frm.MdiParent = this; frm.Show(); } }
private void btnRoles_Click(object sender, EventArgs e) { this.btnUsuarios.BackColor = Color.DimGray; this.btnRoles.BackColor = Color.OrangeRed; this.btnPermisos.BackColor = Color.DimGray; //----------------------------------------- frmRoles.MdiParent = this; frmRoles.Show(); frmRoles.Dock = DockStyle.Fill; frmRoles.BringToFront(); }