예제 #1
0
 public void ProcessDataReceivedEvent(object sender, DataReceivedEventArgs e)
 {
     if (!chkReading.Checked)
     {
         AppendText(txtReplys, e.dataReceived);
     }
 }
 protected virtual void RaiseDataReceivedEvent(DataReceivedEventArgs e)
 {
     if (DataReceivedEvent != null)
         DataReceivedEvent(this, e);
 }