示例#1
0
 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");
     });
 }
示例#2
0
 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");
 }