Пример #1
0
 public TeamSelect(FileHandler fileHandler)
 {
     this.fileHandler = fileHandler;
     teams = fileHandler.GetTeams();
     editedTeamsID = new List<int>();
     modalSelect = new ModalSelect();
     buttonAction = ButtonAction.NONE;
     WireCommonHandlers();
     modalSelect.DisplayTeams(teams);
 }
Пример #2
0
 public PlayerSelect(FileHandler fileHandler)
 {
     this.fileHandler = fileHandler;
     this.players = fileHandler.GetPlayers();
     playersIDSelected = new List<int>();
     modalSelect = new ModalSelect();
     buttonAction = ButtonAction.NONE;
     WireCommonHandlers();
     modalSelect.DisplayPlayers(players);
 }