Beispiel #1
0
        private void goleadoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TablaGoleadores tablaGoleadores = new TablaGoleadores();
            MostrarLigaForm mostrarLigaForm = new MostrarLigaForm();
            List <Equipo>   listaEq         = new List <Equipo>();
            string          archivo         = "equipos.bin";

            listaEq = arch.Deserializar <Equipo>(archivo);

            if (listaEq.Count >= 5 && listaEq.Count <= 10)
            {
                tablaGoleadores.ShowDialog();
            }
        }
Beispiel #2
0
        private void mostrarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MostrarLigaForm mostrarLigaForm = new MostrarLigaForm();

            mostrarLigaForm.ShowDialog();
        }