/// <summary>
        /// Funcja tworzy harmongram meczy czekajacych na rozegranie
        /// </summary>
        private void MakeGames()
        {
            for (int i = 0; i < teamTable.Count; i++)
            {
                for (int j = i + 1; j < teamTable.Count; j++)
                {
                    // metoda rysowania choiki
                    TeamsGame game = new TeamsGame(teamTable[i], teamTable[j]);
                    resultsTable.Add(game);
                }
            }

            // estetyczna zamiana kolejnosci druzyn w grupie potrzebne do UI
            TeamsGame temp = resultsTable[5];

            resultsTable[5] = resultsTable[3];
            resultsTable[3] = temp;
        }
        /// <summary>
        /// Funkcja generyczna umożliwiajaca podejrzenie wynikow
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ShowGameResult_Click(object sender, EventArgs e)
        {
            try
            {
                var       l    = (Label)sender;
                TeamsGame game = (TeamsGame)l.Tag;

                if (game != null)
                {
                    FormGameDetails form = new FormGameDetails(game);
                    form.Show();
                }
            }
            catch (Exception)
            {
                MessageBox.Show("Kliknąć możesz jedynie na pole meczu.", "Help Caption");
            }
        }
 public FormGameDetails(TeamsGame game)
 {
     InitializeComponent();
     this.game = game;
 }