[ADDED] the inlog screen and a data singleton for the client

This commit is contained in:
Lars
2020-10-20 16:36:34 +02:00
parent 55425bbec4
commit 84bf1b3e64
9 changed files with 142 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Client.Views;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
@@ -17,9 +18,9 @@ namespace Client
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
MainWindow startWindow = new MainWindow();
ViewModel VM = new ViewModel();
startWindow.DataContext = VM;
LoginScreen startWindow = new LoginScreen();
//ViewModel VM = new ViewModel();
//startWindow.DataContext = VM;
startWindow.Show();
}