Datenschnittstelle erweitert

This commit is contained in:
HuskyTeufel
2022-05-30 15:51:01 +02:00
parent b2a9d46c4d
commit 455f57fd35
38 changed files with 647 additions and 116 deletions

View File

@@ -1,4 +1,8 @@
using System;
using DichtheitManagement.Contract;
using GuiWPF.ViewModel;
using Mappings;
using Ninject;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
@@ -16,8 +20,16 @@ namespace GuiWPF
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
#if !DEBUG
MessageBox.Show("Kein gültiger Lizenz gefunden!");
Environment.Exit(0);
#else
var window = new MainWindow() { DataContext = new MainWindowViewModel() };
window.Show();
#endif
}
}
}