摘要:
1、在dataGridView的RowPostPaint双击2、吧这段代码写入 Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, dataGridView1.RowHeadersWidth - 4, e.RowBounds.Height); TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), dataGridView1.RowHeadersDefaultCellStyle.Font, rectangle. 阅读全文
posted @ 2012-04-12 16:47
Elite_Y
阅读(685)
评论(0)
推荐(0)

浙公网安备 33010602011771号