Exemplo n.º 1
0
        private void SetupGroups()
        {
            StringReader text = new StringReader(SetupPlayersText.Text);

            List <string> players = new List <string>();

            string line = "";

            while ((line = text.ReadLine()) != null)
            {
                line = line.Trim();

                if (line.Length > 0)
                {
                    players.Add(line);
                }
            }

            AllGroupsList.Clear();

            AddGroups(players);

            if (bDebug)
            {
                // Testing
                SelectGroup(0, 0);
            }
        }