private void clientSend(string text) { if (client.isConnected()) { client.sendCommand(text, client.CLIENT.GetStream()); } else { MessageBox.Show("Errore di rete"); Application.Current.Shutdown(); } }
private void clientSend(string text) { if (client.isConnected()) { client.sendCommand(text, client.CLIENT.GetStream()); } }