Пример #1
0
 public static bool ExportPlayersFromDay(string filename, Day day)
 {
     using SingleColumnWriter singleColumnWriter = new SingleColumnWriter(filename);
     foreach (Player player in day.Players())
     {
         singleColumnWriter.AddRow(player.Name);
     }
     return(true);
 }
Пример #2
0
        void DisplayFixedMatches()
        {
            if (fixedMatchesDay == null)
            {
                WEBfixmatches.DocumentText = "Press \"Add Match\" to get started";
            }
            else
            {
                WEBfixmatches.DocumentText = HTMLdocument.GenerateDay(fixedMatchesDay, HTMLmode.FixMatches);
            }

            SCBfixedmatchplayers.SetAllItems(players.Except(fixedMatchesDay.Players()));
        }