public DownloadDialog(string url, string saveTo) : this() { modelView = new DownloadModelView(url, saveTo); nameInfoLabel.Text = modelView.NameInfoLabelText; modelView.BackgroundWorker.ProgressChanged += Worker_ProgressChanged; modelView.BackgroundWorker.RunWorkerCompleted += Worker_RunWorkerCompleted; this.button1.Click += new System.EventHandler(this.Button1_Click); this.button2.Click += new System.EventHandler(this.Button2_Click); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DownloadDialog_FormClosing); modelView.DownloaderRunWorkerAsync(); }