wpf sucks

This commit is contained in:
Sem van der Hoeven
2020-10-12 16:32:23 +02:00
parent 6967fb625d
commit 7879aa301d
13 changed files with 311 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
using System;
using Server.ViewModels;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -20,15 +22,13 @@ namespace Server
/// </summary>
public partial class MainWindow : Window
{
private string ipAddress = "test";
public MainWindow()
{
InitializeComponent();
}
private void ConnectServer(object sender, RoutedEventArgs e)
{
// use mainviewmodel for the bindings of our methods
DataContext = new MainViewModel();
}
}
}