コード例 #1
0
 private void TButtonPersonal_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["GestionPersonalBuscar"] != null)
     {
         Application.OpenForms["GestionPersonalBuscar"].Activate();
     }
     else
     {
         GestionPersonalBuscar F1 = new GestionPersonalBuscar();
         F1.MdiParent = this;
         F1.Show();
     }
 }
コード例 #2
0
 private void buscarOModificarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["GestionPersonalBuscar"] != null)
     {
         Application.OpenForms["GestionPersonalBuscar"].Activate();
     }
     else
     {
         GestionPersonalBuscar F11 = new GestionPersonalBuscar();
         F11.MdiParent = this;
         F11.Show();
         //F11.WindowState = FormWindowState.Maximized;
     }
 }