Exemplo n.º 1
0
        public void AddDownload(MergedSong song)
        {
            SongItemDownloader downloader = new SongItemDownloader(musicSources, target, song);

            downloader.DownloadFinish += Downloader_DownloadFinish;

            songs.Add(downloader);

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