110,539
社区成员
发帖
与我相关
我的任务
分享
i=0;
foreach (string a in b)
{
////
//这里是一堆文件处理的代码//
////
i++;
progressBar.Value = (int)(i / Convert.ToInt16(txt_total.Text)) * 100;
}