create layout

This commit is contained in:
Natlinux
2023-02-18 11:57:10 +01:00
parent 7911aa46de
commit 2e994ab805
23 changed files with 201 additions and 136 deletions

View File

@@ -24,15 +24,17 @@ namespace Apollon.WPF.ViewModels
public int Targets => SelectedTournament?.Targets ?? 0;
public ICommand NavigatePreparationCommand { get; }
public SelectedTournamentsStore SelectedTournamentStore { get; }
public OverviewDetailsViewModel(SelectedTournamentsStore selectedTournamentStore, NavigationService<GroupsViewModel> groupNavigationService)
public OverviewDetailsViewModel(SelectedTournamentsStore selectedTournamentStore, INavigationService<GroupsViewModel> groupNavigationService)
{
_selectedTournamentStore = selectedTournamentStore;
_selectedTournamentStore.SelectedTournamentChanged += SelectedTournamentStore_SelectedTournamentChanged;
NavigatePreparationCommand = new NavigateCommand<GroupsViewModel>(groupNavigationService);
}
}
protected override void Dispose()
{