Exemple #1
0
 private void sociosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!detectarFormularioAbierto("frmSocios"))
     {
         Socios.frmSocios frmM = new Socios.frmSocios();
         frmM.MdiParent = this;
         frmM.Show();
         frmM.WindowState = FormWindowState.Maximized;
     }
 }
 private void button2_Click(object sender, EventArgs e)
 {
     if (!detectarFormularioAbierto("frmSocios"))
     {
        Socios.frmSocios frmM = new Socios.frmSocios();
         frmM.MdiParent = this;
         frmM.Show();
         frmM.WindowState = FormWindowState.Maximized;
     }
 }