private void DownloadImages() { HiBaiduAlbumDownloader dler = new HiBaiduAlbumDownloader(this.textBoxUserName.Text); DiskImagePersistencer p = new DiskImagePersistencer(dler, this.textBoxDestDir.Text); p.init(); dler.setPersistence(p); dler.onDownLoadProgress += new HiBaiduAlbumDownloader.dDownloadProgress(downloading); dler.onInfoChange += new HiBaiduAlbumDownloader.dChangeInfo(changeinfo); dler.getAll(); MessageBox.Show("Download OK"); }
public DiskImagePersistencer(HiBaiduAlbumDownloader d, string dir) { this.downloader = d; this.destdir = dir + "\\" + HttpUtility.UrlDecode(d.username, Encoding.GetEncoding("GBK")); }
private void DownloadImages() { HiBaiduAlbumDownloader dler = new HiBaiduAlbumDownloader(this.textBoxUserName.Text); DiskImagePersistencer p = new DiskImagePersistencer(dler, this.textBoxDestDir.Text); p.init(); dler.setPersistence(p); dler.onDownLoadProgress += new HiBaiduAlbumDownloader.dDownloadProgress(downloading); dler.onInfoChange += new HiBaiduAlbumDownloader.dChangeInfo(changeinfo); dler.getAll(); MessageBox.Show("Download OK"); }
public DiskImagePersistencer(HiBaiduAlbumDownloader d, string dir) { this.downloader = d; this.destdir = dir + "\\" + HttpUtility.UrlDecode(d.username, Encoding.GetEncoding("GBK")); }