private void btnAdmGestores_Click(object sender, EventArgs e) { frmAdministrarGestores frmAdmGestores = new frmAdministrarGestores(this); frmAdmGestores.MdiParent = this; frmAdmGestores.Show(); frmAdmGestores.Location = new Point(0, 0); frmAdmGestores.Size = new Size(934, 675); }
private void btnAdministrarGestores_Click(object sender, EventArgs e) { //para bloquear acceso a otros botones del menu //btnAdministrarPersonal.Enabled = false; //btnAdministrarGestores.Enabled = false; //Para restringir acceso a otros botones //frmAdministrarGestores formAdminGestores = new frmAdministrarGestores(); frmAdministrarGestores formAdminGestores = new frmAdministrarGestores(this); formAdminGestores.MdiParent = this; //SE USARÁ ENABLES, NO SHOWDIALOG PORQUE NO FUNCIONA CON MDI :( formAdminGestores.Show(); //formAdminGestores.Visible = true; //lblBienvenido.Visible = false; //panelAviso.Visible = false; }