Creating a Startwindow
This commit is contained in:
Natlinux81
2022-08-09 22:04:43 +02:00
parent 14d6e027f9
commit e9b04dbe89
12 changed files with 210 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Apollon.WPF.ViewModels;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
@@ -15,7 +16,10 @@ namespace Apollon.WPF
{
protected override void OnStartup(StartupEventArgs e)
{
MainWindow = new MainWindow();
MainWindow = new MainWindow()
{
DataContext = new ApollonOverviewViewModel()
};
MainWindow.Show();
base.OnStartup(e);