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