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