How do you add the panel and then the buttons?
In the Designer or in code?
You have to divide the Panel.Width by 6 for the Button.Width and and divide Panel.Height by 3 for the Button.Height and then set the Left, Top, Width and Height properties of the Buttons.