Create Prize and create Team ready

This commit is contained in:
2020-05-17 16:41:53 +02:00
parent effdbe02b4
commit c13e2f3ccb
9 changed files with 406 additions and 2 deletions

View File

@ -9,7 +9,7 @@ using TrackerLibrary.Models;
namespace TrackerWPFUI.ViewModels
{
public class ShellViewModel : Conductor<object>
public class ShellViewModel : Conductor<object> //ActiveItem in Itemcontrol tells whats going on
{
public ShellViewModel()
@ -17,6 +17,8 @@ namespace TrackerWPFUI.ViewModels
// Initialize the database connections
GlobalConfig.InitializeConnections(DatabaseType.Sql);
_existingTournaments = new BindableCollection<TournamentModel>(GlobalConfig.Connection.GetTournament_All());
//ActivateItem(new CreatePrizeViewModel());
ActivateItem(new CreateTeamViewModel());
}
public void CreateTournament()
{