A tableLayoutPanel can help with this.
- Add a tableLayoutPanel and size it to fit your needs.
- Anchor the table to Top, Bottom, Left, and Right
- Put GroupBoxA into the upper left cell of the table
- Put GroupBoxB into the lower right cell of the table
- For both GroupBox size them accordingly and anchor them to all 4 sides.
- Now they will grow and shrink proportionately with the app.
Additionally you can add more of your controls to the table. If you need a control to span multiple rows or columns use the RowSpan/ColumnSpan property.