Ejemplo n.º 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");
     }
 }
Ejemplo n.º 2
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");
     }
 }