public void TCPSendMessage(string message)
 {
     TCPServer.SendMessage(message);
     Dispatcher.Invoke(() => { TCPLastMessageSentText.Text = message; });
 }
 private void TCP_Disconnect_Button_Click(object sender, RoutedEventArgs e)
 {
     TCPServer.Disconnect();
 }