示例#1
0
 private void Md_DownloadComplete(object sender, TDownloadCompleteEventArgs e)
 {
     if (DownloadComplete != null)
     {
         DownloadComplete(this, e);
     }
 }
示例#2
0
 private void Md_ThreadDownloadComplete(object sender, TDownloadCompleteEventArgs e)
 {
     _downloadingNum--;
     for (int i = 0; i < _currentDownloadItems.Count; i++)
     {
         if (_currentDownloadItems[i].SavePath == e.SavePath)
         {
             _currentDownloadItems.RemoveAt(i);
             break;
         }
     }
     if (ThreadDownloadComplete != null)
     {
         ThreadDownloadComplete(this, e);
     }
 }