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