示例#1
0
 private void backgroundWorker2_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     ((Installing)this.stepPanel.Controls[0]).progressBar1.Value = 100;
     Installing isi = ((Installing)this.stepPanel.Controls[0]);
     Finish fi = new Finish();
     fi.finishBtn.Click += new EventHandler(finishBtn_Click);
     this.stepPanel.Controls.RemoveAt(0);
     this.stepPanel.Controls.Add(fi);
     isi.Dispose();
     this.inStatus = InstallStatue.ZJInstalled;
     Directory.Delete(System.IO.Path.GetTempPath() + "ZLPInst\\", true);
 }