Beispiel #1
0
 private void onDbInstallBatchProgress(object sender, InstallProgressEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new InstallProgressEventHangler(onDbInstallBatchProgress), new object[] { sender, e });
     }
     else
     {
         progressBarBatch.Maximum = e.MaxValue;
         progressBarBatch.Value = e.CurrValue;
     }
 }
Beispiel #2
0
 private void onDbInstallProgress(object sender, InstallProgressEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new DBInstaller.InstallProgressEventHangler(onDbInstallProgress), new object[] { sender, e });
     }
     else
     {
         progressBar.Properties.Maximum = e.MaxValue;
         progressBar.Position = e.CurrValue;
     }
 }