示例#1
0
 private void UpdateProgressBar(InstallStatus opProg, TextProgressBar bar)
 {
     bar.Maximum    = opProg.ItemsTotal;
     bar.Value      = opProg.ItemsDone;
     bar.CustomText = opProg.CurrentOperation;
 }
示例#2
0
 private void UpdateProgressBar(InstallStatus opProg, TextProgressBar bar)
 {
     bar.Maximum = opProg.ItemsTotal;
     bar.Value = opProg.ItemsDone;
     bar.CustomText = opProg.CurrentOperation;
 }