コード例 #1
0
        public override object Clone()
        {
            DataGridViewProgressCell dataGridViewCell = base.Clone() as DataGridViewProgressCell;

            if (dataGridViewCell != null)
            {
                dataGridViewCell.ProgressBarColor = this.ProgressBarColor;
                dataGridViewCell.minor            = this.minor;
                dataGridViewCell.major            = this.major;
                dataGridViewCell.minorColor       = this.minorColor;
                dataGridViewCell.majorColor       = this.majorColor;
                dataGridViewCell.footerColor      = this.footerColor;
                dataGridViewCell.headerColor      = this.headerColor;
            }
            return(dataGridViewCell);
        }
コード例 #2
0
 public DataGridViewProgressColumn()
 {
     CellTemplate = new DataGridViewProgressCell();
 }