Navbar prototype

This commit is contained in:
Natlinux
2022-11-12 23:25:38 +01:00
parent 83ce97c501
commit d2c021c5b7
13 changed files with 650 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Apollon.WPF.ViewModels
{
public class RootdatesViewModel : ViewModelBase
public class NameListViewModel : ViewModelBase
{
}
}

View 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;}
}
}

View File

@@ -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());
}