/// <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 }); } }