Пример #1
0
 private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     UnInstalling ui = (UnInstalling)this.stepPanel.Controls[0];
     ui.status.Text = "deleting program folder...";
     ui.progressBar1.Value = 100;
     Thread.Sleep(300);
     uninstalling = false;
     Finish fi = new Finish();
     fi.finishBtn.Click += new EventHandler(finishBtn_Click);
     this.stepPanel.Controls.RemoveAt(0);
     this.stepPanel.Controls.Add(fi);
     ui.Dispose();
 }