It's tricky and depends in what order you do things. It has to to with docking.
1) Add the bottom panel to the form, set docking to bottom
2) add the splitter to the form, set docking to the bottom
3) Add the top panel above the splitter, set docking to fill
I hope this works.