1
这是我PANEL1漆事件绘制的水平线,一个DataGridView细胞
Pen graphPen = new Pen(Color.White, 10);
PointF pt1D = new PointF();
PointF pt2D = new PointF();
pt1D.X = 5;
pt1D.Y = 10;
pt2D.X = 175;
pt2D.Y = 10;
e.Graphics.DrawLine(graphPen, pt1D, pt2D);
e.Graphics.DrawLine(graphPen, 5, 10, 175, 10);
帮我datagridview的电池漆事件同样的方法适用。 我想对datagridview的细胞
k,谢谢,但actuallu我想要如果我双击任何单元格它将被显示提起矩形颜色再次我双击它的hide.this是我想要的。 – Varta 2014-09-30 12:35:59
请编辑您的问题 – 2014-09-30 12:38:21