Navigation Service and Cleanup UI
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Apollon.WPF.Commands;
|
||||
using Apollon.WPF.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -12,7 +13,16 @@ namespace Apollon.WPF.ViewModels
|
||||
{
|
||||
public ICommand NavigateOverviewCommand { get;}
|
||||
public ICommand NavigateGroupsCommand { get;}
|
||||
public ICommand NavigateClassesCommand { get;}
|
||||
public ICommand NavigateArchersCommand { get;}
|
||||
public ICommand NavigateClassesCommand { get;}
|
||||
public ICommand NavigateArchersCommand { get;}
|
||||
|
||||
public NavBarPreparationViewModel(NavigationService<OverviewViewModel> overviewNavigationService, NavigationService<GroupsViewModel> groupNavigationService,
|
||||
NavigationService<ClassesViewModel> classNavigationService, NavigationService<ArchersViewModel> archersNavigationService)
|
||||
{
|
||||
NavigateOverviewCommand = new NavigateCommand<OverviewViewModel>(overviewNavigationService);
|
||||
NavigateGroupsCommand = new NavigateCommand<GroupsViewModel>(groupNavigationService);
|
||||
NavigateClassesCommand = new NavigateCommand<ClassesViewModel>(classNavigationService);
|
||||
NavigateArchersCommand = new NavigateCommand<ArchersViewModel>(archersNavigationService);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user