internal DownloadForm(DownloadFile[] files) { InitializeComponent(); _files = files; _ques = new Queue<DownloadFile>(_files); _totalSize = 0; _currentSize = 0; _currentPercent = 0; }
internal void Download(DownloadFile file) { this.Download(file.HttpURL, file.TargetPath); }
private void AddDownloadFile(List<DownloadFile> list, string path, string url, decimal size) { DownloadFile file = new DownloadFile(url, path, size); list.Add(file); }