摘要: 本来想画方格图,结果成这样代码如下:private void PaintMe() { int tWidth = this.Width; int tHeight = this.Height; Graphics g = this.CreateGraphics(); g.FillRectangle(new SolidBrush(this.BackColor), 0, 0, tWidth, tHeight); int x = tWidth / m_GridSize.Width; int y = tHeight / m_GridSize.Height; Pen pGrid = new Pe... 阅读全文
posted @ 2010-05-09 20:08 星a 阅读(175) 评论(0) 推荐(0) 编辑