private void iniciarTorneoToolStripMenuItem_Click(object sender, EventArgs e) { if (vtnTorneo == null) { this.cerrarVentanas(); vtnTorneo = new AgregarTorneo(); vtnTorneo.MdiParent = this; vtnTorneo.FormClosed += VtnTorneo_FormClosed; vtnTorneo.Show(); } else { vtnTorneo.Activate(); } }
private void button2_Click(object sender, EventArgs e) { AgregarTorneo Atorneo = new AgregarTorneo(); Atorneo.Show(); }