PIbd-21. Alekseev I.S. Lab work 05. Base #5

Closed
IvanAlekseev1 wants to merge 2 commits from Lab5Base into Lab4Base
Showing only changes of commit 8647cc572a - Show all commits

View File

@ -111,7 +111,6 @@ namespace ProjectBomber.Generics
Pen pen = new Pen(Color.Black, 3);
int numColumns = pictureWidth / _placeSizeWidth;
int numRows = pictureHeight / _placeSizeHeight;
for (int i = 0; i <= numColumns; i++)
{
for (int j = 0; j <= numRows; ++j)
@ -121,7 +120,6 @@ namespace ProjectBomber.Generics
int y = j * _placeSizeHeight;
g.DrawLine(pen, x, y, x + _placeSizeWidth / 2, y);
}
g.DrawLine(pen, i * _placeSizeWidth, 0, i * _placeSizeWidth, numRows * _placeSizeHeight);
}
}