Handle the form Paint event and draw them - you can use the Graphics property of the PaintEventArgs parameter to draw on.
Then:
Graphics g = e.Graphics;
int spacing = 25;
for (int x = spacing; x < Width; x += spacing)
{
g.DrawLine(Pens.Black, x, 0, x, Height);
}
for (int y = spacing; y < Height; y += spacing)
{
g.DrawLine(Pens.Black, 0, y, Width, y);
}