Beispiel #1
0
 public void OnDownloadTimedEvent(object source, ElapsedEventArgs e)
 {
     if (!Client.IsBusy && downloaQueue.Count > 0)
     {
         curentDownlodingFile = (DownloadFileObject)downloaQueue.Dequeue();
         Client.DownloadFileAsync(new Uri(curentDownlodingFile.Url), Path.GetTempPath() + @"\station.png");
     }
 }
 public void OnDownloadTimedEvent(object source, ElapsedEventArgs e)
 {
     if (!Client.IsBusy && downloaQueue.Count > 0)
     {
         curentDownlodingFile = (DownloadFileObject) downloaQueue.Dequeue();
         Client.DownloadFileAsync(new Uri(curentDownlodingFile.Url), Path.GetTempPath() + @"\station.png");
     }
 }