예제 #1
0
        private void editRecursos_Click(object sender, EventArgs e)
        {
            fRecursos childForm = new fRecursos();

            childForm.MdiParent = this;
            childForm.Text      = "Ventana " + childFormNumber++;
            childForm.Show();
        }
예제 #2
0
 private void recursosToolstripMenuItem(object sender, EventArgs e)
 {
     if (Application.OpenForms["fRecursos"] != null)
     {
         Application.OpenForms["fRecursos"].Activate();
     }
     else
     {
         fRecursos fr = new fRecursos();
         fr.MdiParent = this;
         fr.Show();
     }
 }