void worker_RequestComplete(object sender, Net.AssetDownloader.RequestCompleteEventArgs e) { if (RequestComplete != null) { RequestComplete(this, e); } }
void downloader_RequestComplete(object sender, Net.AssetDownloader.RequestCompleteEventArgs e) { lock (this) { //progress.estimatedBytesRemaining -= e.Asset.size; progress.contentBytesTotal += e.ContentBytes; } }