1 2 3 4 5 6
| Public Shared Sub DrawGrid ( _
graphics As Graphics, _
area As Rectangle, _
pixelsBetweenDots As Size, _
backColor As Color _
) |
Parameters
graphics
Type: System.Drawing..::.Graphics
The Graphics to draw on.
area
Type: System.Drawing..::.Rectangle
The Rectangle that represents the dimensions of the grid.
pixelsBetweenDots
Type: System.Drawing..::.Size
The Size that specified the height and width between the dots of the grid.
backColor
Type: System.Drawing..::.Color
The Color of the background behind the grid
Partager