Esempio n. 1
0
 /// <summary>
 /// 设置进度条的当前值
 /// </summary>
 /// <param name="num"></param>
 public void setProgressBarValue(double num)
 {
     if (InvokeRequired)
     {
         setProgressBarDelegate spb = new setProgressBarDelegate(delegate(double numprogressbar)
         {
             barEditItemUploadBar.EditValue = numprogressbar;
         });
         Invoke(spb, new object[] { num });
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 设置进度条的当前值
 /// </summary>
 /// <param name="num"></param>
 public void setProgressBarValue(double num)
 {
     if (InvokeRequired)
     {
         setProgressBarDelegate spb = new setProgressBarDelegate(delegate(double numprogressbar)
         {
             barEditItemUploadBar.EditValue = numprogressbar;
         });
         Invoke(spb, new object[] { num });
     }
 }