Beispiel #1
0
 public MainWindow()
 {
     InitializeComponent();
     Globals.UIDispatcher = Dispatcher;
     DataContext          = ViewModelController.Instance;
     ViewModelController.ChangeViewModel(new LoginViewModel());
     //Connection.Initalize();// TODO: Change to LoginViewModel or something
     connectionThread = new Thread(() => Connection.Initalize());
     connectionThread.Start();
 }