Exemplo n.º 1
0
 /// <summary>
 /// 触发完成事件
 /// </summary>
 /// <param name="sender">来源</param>
 /// <param name="e">参数</param>
 protected virtual void OnComplete(object sender, CompleteEventArgs e)
 {
     if (this.Complete != null)
     {
         this.Complete(sender, e);
     }
 }
Exemplo n.º 2
0
 private void OnAllComplete(object sender, CompleteEventArgs e)
 {
     CurrentImportResult = e.Success;
     if (!e.Success)
         ImportCompleteWithErrors = true;
     ImportFileRunning = false;
 }