Possible Duplicate:
Panel.Dock Fill ignoring other Panel.Dock setting
It seems that when I place my panels in winforms I get unexpected results. If I have 3 panels and I dock them all to the top so that hopefully they are all 1 after the other, I instead get the last one docking to the VERY top of the application, not to the bottom of the last docked panel.
I guess I am confused about how the dock property in winforms panels work!? Every time I try to layout my application I get a headache because one panel wants to dock where I don’t want it.
Use the “document outline” view in Visual Studio to see the hierarchical structure of your form. You’ll be able to ensure that all panels are at the same level, under the same parent, and you’ll be able to reorder them to change the docking behavior/priorities.