Wolf CCMLG 0 Newbie Poster

Ok this sounds ridiculously easy, yet I am having a hard time figuring this out. :$
I want to create a grid (rows and columns) of rectangles that can be adjusted in size. The row size and column size of the grid must be also be adjustable. I can only seem to get the top row and the first column working. I'll attach an .exe for an example of what the finished product is supposed to look like.

This is what little bit I have in my paint section:

// BOXSIZE == 64
            // My Box class is pretty much exactly like a Rectangle, I'll probably
            // switch to the actual Rectangle class later.

            for (int i = 0; i < MapWidth.Value; ++i)
            {
                Box B = new Box();
                B.X = B.X + (BOXSIZE*i);
                list.Add(B);
            }
            for (int i = 0; i < MapHeight.Value; ++i)
            {
                Box B = new Box();
                B.Y = B.Y + (BOXSIZE*i);
                list.Add(B);
            }
            foreach (Box B in list)
            {
                e.Graphics.DrawRectangle(Pens.Black, B.Rectangle);
            }
            list.Clear();