コード例 #1
0
ファイル: Form1.cs プロジェクト: geffzhang/Prophecy
 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
ファイル: Program.cs プロジェクト: geffzhang/Prophecy
 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");
 }