Example #1
0
 private void downloadButton_Click(object sender, EventArgs e)
 {
     DownloadManager dlman = new DownloadManager(this);
     dlman.ShowDialog();
     dlman.Close();
     dlman.Dispose();
 }
 private void downloadButton_Click(object sender, EventArgs e)
 {
     DownloadManager dlman = new DownloadManager(this);
     try
     {
         dlman.Icon = this.Icon;
     }
     catch (Exception) { }
     dlman.ShowDialog();
     dlman.Close();
     dlman.Dispose();
 }