private void Form1_Load(object sender, EventArgs e) { this.downloadWorker = new AsyncDownloader(this); listViewDownStatus.ItemAdded += this.downloadWorker.ItemAddedToWorker; this.updateListViewStatus = new UpdateListViewDownStatus(this.UpdateFileDownloadedStatus); }
private void Form1_Load(object sender, EventArgs e) { this.downloadWorker = new AsyncDownloader(this); listViewDownStatus.ItemAdded += this.downloadWorker.ItemAddedToWorker; this.updateListViewStatus = new UpdateListViewDownStatus( this.UpdateFileDownloadedStatus ); }