DevExpress 进度条progressBarControl的使用

#region 进度条 progressBarControl1.Visible = true; //设置一个最小值 progressBarControl1.Properties.Minimum = 0; //设置一个最大值 progressBarControl1.Properties.Maximum = 100; //设置步长,即每次增加的数 progressBarControl1.Properties.Step = 1; //设置进度条的样式 progressBarControl1.Properties.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid; //当前值 progressBarControl1.Position = 0; //是否显示进度数据 progressBarControl1.Properties.ShowTitle = true; //是否显示百分比 progressBarControl1.Properties.PercentView = true; #endregion for (int i = 0; i < rowCount; i++) { Application.DoEvents(); progressBarControl1.Position += 1; }


    推荐阅读