private void crawl_DomainCrawlStarted(object sender, DomainCrawlStartedEventArgs e) { if (_asyncOp != null && !_cancelPending) { var args = new CrawlDaddyProgressChangedEventArgs(e, 1, _asyncOp.UserSuppliedState); _asyncOp.Post(_onProgressReportDelegate, args); } }
private void crawl_LinkCrawlCompleted(object sender, LinkCrawlCompletedArgs e) { if (_asyncOp != null && !_cancelPending) { var args = new CrawlDaddyProgressChangedEventArgs(e, 1, _asyncOp.UserSuppliedState); _asyncOp.Post(_onProgressReportDelegate, args); } }