Exemplo n.º 1
0
 public void IncrementProgressBar()
 {
     if (!(mpForm.mbIsClosing))
     {
         IncrementProgressBarDelegate pDelegate = new IncrementProgressBarDelegate(mpForm.IncrementProgressBar);
         mpForm.Invoke(pDelegate);
     }
 }
 private void IncrementProgressBarCall(string info, int incrementValue)
 {
     if (_splashScreen.InvokeRequired)
     {
         IncrementProgressBarDelegate d = new IncrementProgressBarDelegate(IncrementProgressBarCall);
         _splashScreen.Invoke(d, new object[] { info, incrementValue });
     }
     else
     {
         _splashScreen.IncrementProgressBar(info, incrementValue);
     }
 }