public MainWindow() { InitializeComponent(); server = new Server(this); buttonStop.IsEnabled = false; statusWindow = textStatus; mainWindow = this; }
public Server(MainWindow window) { this.tcpListener = new TcpListener(IPAddress.Parse("0.0.0.0"), 4000); this.logger = new Logger(); }