摘要:
本来想画方格图,结果成这样代码如下: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... 阅读全文