/// <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); } }
private void OnAllComplete(object sender, CompleteEventArgs e) { CurrentImportResult = e.Success; if (!e.Success) ImportCompleteWithErrors = true; ImportFileRunning = false; }