connectie met server

This commit is contained in:
fabjuuuh
2020-10-07 13:21:30 +02:00
parent a2937c0427
commit aea1b4fce4
8 changed files with 434 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
using System;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -12,7 +13,6 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DokterApp
{
/// <summary>
@@ -20,9 +20,11 @@ namespace DokterApp
/// </summary>
public partial class MainWindow : Window
{
Client client;
public MainWindow()
{
InitializeComponent();
}
private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
@@ -34,7 +36,9 @@ namespace DokterApp
{
WindowTabs windowTabs = new WindowTabs();
windowTabs.Show();
this.client = new Client("localhost", 5555, this.Username.Text, this.Password.Text);
this.Close();
}
}
}