void _comm_ReceivedDelimitedString(object sender, ReceivedDelimitedStringEventArgs e) { // This is where you would process the message (or queue it to be processed later). this.invokeIfRequired(() => { txtReceivedData.AppendText(e.RawResponse + "\r\n"); }); }
static void _comm_ReceivedDelimitedString(object sender, ReceivedDelimitedStringEventArgs e) { // This is where you would process the message (or queue it to be processed later). Console.WriteLine(e.RawResponse + "\r\n"); }