To get the appearance of a rectangular grid, the buttons will all have to be the same size. Then eliminate the inter-button spacing by setting each button's Margin to zero. Something like this:
Button btn = new Button();
btn.Size = new Size(200, 30);
btn.Margin = Padding.Empty;
Alan.