Navbar prototype
This commit is contained in:
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Apollon.WPF.ViewModels
|
||||
{
|
||||
public class RootdatesViewModel : ViewModelBase
|
||||
public class NameListViewModel : ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
16
Apollon.WPF/ViewModels/NavigationBarViewModel.cs
Normal file
16
Apollon.WPF/ViewModels/NavigationBarViewModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Apollon.WPF.ViewModels
|
||||
{
|
||||
public class NavigationBarViewModel : ViewModelBase
|
||||
{
|
||||
public ICommand NavigateNameListCommand { get;}
|
||||
public ICommand GroupsCommand { get;}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace Apollon.WPF.ViewModels
|
||||
|
||||
LoadTournamentsCommand = new LoadTournamentsCommand(this, tournamentStore);
|
||||
AddTournamentCommand = new OpenAddTournamentCommand(tournamentStore, modalNavigationStore, navigationStore, selectedTournamentStore);
|
||||
NavigateNameListCommand = new NavigateCommand<RootdatesViewModel>(navigationStore, () => new RootdatesViewModel());
|
||||
NavigateNameListCommand = new NavigateCommand<NameListViewModel>(navigationStore, () => new NameListViewModel());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user