Exemplo n.º 1
0
 private void btnExit_Click(object sender, RoutedEventArgs e)
 {
     SocketServerEx.CloseSocket();
     btnStartServer.IsEnabled = true;
     btnSend.IsEnabled        = false;
     lbStatus.Content         = "Closed socket";
 }
 private void BtnExit_Click(object sender, RoutedEventArgs e)
 {
     SocketServerEx.CloseSocket();
     _running           = false;
     BtnStart.IsEnabled = true;
     Lstatus.Content    = "Closed";
 }