문제

In winforms I am trying to setup 4 panels docked: top, left, right and middle. But when I dock the top and try to dock another panel on the left, that left panel overlays the top panel..Am I doing something wrong there? is there another way of docking several panels?

도움이 되었습니까?

해결책

You may need to be careful to not drop the panels into any of the other panels before selecting their docking property, or they will assume that the panel they were dropped into is their parent.

I created the setup you see below by simply using 4 panels, each one dropped individually and then assigned the correct docking attribute. I made sure when I dropped them to drop them in space that was currently not used by any existing panels.

I'd assume this is what you are after, correct?

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top