private void Serial_DataReceived(byte[] bytes) { string str = ConvertHelper.BytesToX2Str(bytes); this.Invoke(new Action(() => { this.richTextBox1.Text += str + "\r\n"; })); }