Exemple #1
0
        public void AddDownload(MergedSong song)
        {
            SongItemDownloader downloader = new SongItemDownloader(musicProviders, target, song);

            downloader.DownloadFinish += Downloader_DownloadFinish;

            songs.Add(downloader);

            downloader.Download();
        }
Exemple #2
0
 private void Downloader_DownloadFinish(object sender, SongItemDownloader e)
 {
     songs.Remove(e);
 }