日期:2014-05-18 浏览次数:21194 次
Rectangle[,] RectArray = new Rectangle[111, 51];
            for (int x = 1; x <= 110; x++)
            {
                for (int y = 1; y <= 50; y++)
                {
                    RectArray[x, y] = new Rectangle(rounddoubletoint(12 * x * k - 4 * k), rounddoubletoint(12 * y * k - 4 * k), rounddoubletoint(8 * k), rounddoubletoint(8 * k));
                    gph.DrawEllipse(mypen1, RectArray[x, y]);
                    gph.FillEllipse(mySolidBrush1, RectArray[x, y]);
                }
            }