public WinFormsDownloadView() { this.Form = new frmDownload(); this.Form.labelDetailed.Text = this.Form.labelDownloading.Text = string.Empty; this.Form.progressFile.Value = 0; }
private void downloadFilesToolStripMenuItem_Click(object sender, EventArgs e) { try { frmDownload oDownload = new frmDownload(); oDownload.MdiParent = this; oDownload.Show(); } catch (Exception ex) { GV.Log.Append("[ERROR] " + ex.Message); GV.ErrorLog.Append(ex.ToString()); MessageBox.Show(ex.Message, "Download Files"); } }