Exemplo n.º 1
0
 private void onDbUpdateComplete(object sender, UpdateCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new UpdateCompleteEventHandler(onDbUpdateComplete), new object[] { sender, e });
     }
     else
     {
         progressBar.Position = 0;
     }
 }
Exemplo n.º 2
0
 private void onDbUpdateComplete(object sender, UpdateCompleteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new UpdateCompleteEventHandler(onDbUpdateComplete), new object[] { sender, e });
     }
     else
     {
         operationComplite(e.Success, res.FrmMain_installDBErrorMsg, res.FrmMain_installDBErrorMsgCaption);
     }
 }