Пример #1
0
 private void clientSend(string text)
 {
     if (client.isConnected())
     {
         client.sendCommand(text, client.CLIENT.GetStream());
     }
     else
     {
         MessageBox.Show("Errore di rete");
         Application.Current.Shutdown();
     }
 }
Пример #2
0
 private void clientSend(string text)
 {
     if (client.isConnected())
     {
         client.sendCommand(text, client.CLIENT.GetStream());
     }
 }