前段时间需要完成列表(datagridview)添加进度条,实现进度的实时显示,在网上查阅资料,得到下面的资料并成功应用
public class DataGridViewProgressBarCell : DataGridViewCell { public DataGridViewProgressBarCell() { this.ValueType = typeof(int); } //设置进度条的背景色; public DataGridViewProgressBarCell(Color progressBarColor) : base() { ProgressBarColor = progressBarColor; } protected<