private void fileSolicitud_Click(object sender, EventArgs e) { fSolicitud childForm = new fSolicitud(); childForm.MdiParent = this; childForm.Text = "Ventana " + childFormNumber++; childForm.Show(); }
private void undoToolStripMenuItem_Click(object sender, EventArgs e) { if (Application.OpenForms["fSolicitud"] != null) { Application.OpenForms["fSolicitud"].Activate(); } else { fSolicitud fs = new fSolicitud(); fs.MdiParent = this; fs.Show(); } }