예제 #1
0
 private void OnDataReceived(DataEventArgs e)
 {
    var handler = DataReceived;
    if (handler != null)
    {
       handler(this, e);
    }
 }
예제 #2
0
 private void OnDataSent(DataEventArgs e)
 {
    var handler = DataSent;
    if (handler != null)
    {
       handler(this, e);
    }
 }