public void AddTeam(IViewTeams form, ITeamController teamController, IGroupRepository groupRepository) { _teamController = teamController; _groupRepository = groupRepository; _form = form; AddComboBoxItems(); this.Show(); }
public void ShowAllTeams(ITeamController teamController, IGroupRepository groupRepository, List <Team> listTeam) { _teamController = teamController; _groupRepository = groupRepository; _listTeams = listTeam; UpdateList(); this.Show(); }
public TeamWindow(IUser user) { InitializeComponent(); source = ApplicationController.getProvider(); personController = ApplicationController.getPersonController(); teamController = ApplicationController.getTeamController(); personList = source.getPeople(); personList.Sort((x, y) => x.FirstName.CompareTo(y.FirstName)); personList.ForEach(x => x.Ratio = Math.Round(x.Ratio, 3)); selectedPersons = new List <IPerson>(); selectionListBox.ItemsSource = personList; this.user = user; }
public AddTeamCommand(ITeamController controller) { this.controller = controller; }
public TeamInfoCommand(ITeamController controller) { this.controller = controller; }
public SetDateFoundCommand(ITeamController controller) { this.controller = controller; }
public SetAddressCommand(ITeamController controller) { this.controller = controller; }