示例#1
0
 protected virtual void OnSendProgress(ProgressEventArgs e)
 {
     EventHandler<ProgressEventArgs> handler = SendProgress;
     if (handler != null) handler(this, e);
 }
示例#2
0
 protected virtual void OnReceiveProgress(ProgressEventArgs e)
 {
     var handler = ReceiveProgress;
     if (handler != null) handler(this, e);
 }