2012年7月13日

DataGridView显示行号

摘要: 可以做成扩展控件,这里是主要代码:方法一:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->privatevoiddataGridView2_RowPostPaint(objectsender,DataGridViewRowPostPaintEventArgse){using(varbrush=newSolidBrush(dataGridView2.RowHeadersDefaultCellStyle.ForeColor)){e.Graphic 阅读全文

posted @ 2012-07-13 12:27 ewyb 阅读(336) 评论(0) 推荐(0) 编辑

导航