pgb_All.Properties.Minimum = 0;
pgb_All.Properties.Maximum = (int)_SumQty;
pgb_All.Properties.Step = 1;
pgb_All.Position = (int)_Qty; //当前进度
pgb_All.Properties.ShowTitle = true; //显示百分比
//动态演示
public void SetBarValue(int barValue)
{
for (int i = 0; i < barValue; i++)
{
Application.DoEvents();
pgb_All.PerformStep();
System.Threading.Thread.Sleep(15);
}
}
dev的progressBarControl使用
最新推荐文章于 2021-07-08 17:14:39 发布