Exemplo n.º 1
0
 private void Client_ResponseReceived(object sender, TcpAppClientEventArgs e)
 {
     if (e.Message.StartsWith("ERR"))
     {
         AppendOutput(e.Message, Color.Red);
     }
     else
     {
         AppendOutput(e.Message, Color.Lime);
     }
 }
Exemplo n.º 2
0
 private void Client_CommandSend(object sender, TcpAppClientEventArgs e)
 {
     AppendOutput(e.Message + "\n", Color.Yellow);
     Application.DoEvents();
 }