Esempio n. 1
0
        private void frmMatch_Load(object sender, EventArgs e)
        {
            lblTournament.Text = tournament.tournamentTitle + " " + tournament.tournamentStart.Year;
            this.Visible       = false;
            List <Match> list = MatchHelper.GetMatch(tournament);

            foreach (var m in list)
            {
                var match = new UCMatch(m, tournament);

                flowLayoutPanel1.Controls.Add(match);
            }
            this.Visible = true;
        }