private void btnAgregarRetiroPersonal_Click(object sender, EventArgs e) { var pantalla = new frmNuevoRetiroPersonal(); bool copia = false; foreach (var frm in Parent.MdiChildren) { if (pantalla.Name == frm.Name) { frm.Close(); } } pantalla.Closed += ApplicationTab_Closed; pantalla.Load += PantallaOnLoad; pantalla.MdiParent = Parent; pantalla.Show(); }