예제 #1
0
 private void onDbInstallBatchComplete(object sender, InstallCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new InstallCompleteEventHandler(onDbInstallBatchComplete), new object[] { sender, e });
     }
     else
     {
         progressBarBatch.Value = 0;
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: 5509850/baumax
 private void onDbInstallComplete(object sender, InstallCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new DBInstaller.InstallCompleteEventHandler(onDbInstallComplete), new object[] { sender, e });
     }
     else
     {
         progressBar.Position = 0;
     }
 }
예제 #3
0
파일: FrmMain.cs 프로젝트: 5509850/baumax
 private void onDbInstallComplete(object sender, InstallCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new InstallCompleteEventHandler(onDbInstallComplete), new object[] { sender, e });
     }
     else
     {
         progressBar.Value = 0;
         canClose = true;
         enableControls(true);
         if (!e.Success)
             if (MessageBox.Show(res.FrmMain_installDBErrorMsg, res.FrmMain_installDBErrorMsgCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Error) == DialogResult.Yes)
                 saveLog();
         if (immediatelyRun && closeAfterRun)
             Application.Exit();
     }
 }
예제 #4
0
 private void onDbInstallComplete(object sender, InstallCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new InstallCompleteEventHandler(onDbInstallComplete), new object[] { sender, e });
     }
     else
     {
         operationComplite(e.Success, res.FrmMain_installDBErrorMsg, res.FrmMain_installDBErrorMsgCaption);
     }
 }