private void appendContent(byte[] buffer, int len) { if (buffer == null || len == 0) { return; } //Content.AppendLine(Encoding.UTF8.GetString(buffer)); Rtb_Msg.AppendText(Encoding.UTF8.GetString(buffer)); }
private void appendContent(string msg) { //Content.AppendLine(msg); //UpdateRtb(); Rtb_Msg.AppendText(msg + "\n"); }