Depends on your requirements. Please show your layout for me to provide more detailed answer. In general, I would use TableLayoutPanel + nested panels inside that. You can put multiple controls on a panel, so you should be able to accomplish what you need with it. Having nested TableLayoutPanel is not only a debugging concern, but also a UI designer's concern. I bet you will spend considerable time designing such a form and making sure it behaves as expected.
Nested Table Layout Panels
-
19-06-2023 - |
Vra
I am building an application that will show / hide portions of the form as the user completes it. I will use a TableLayoutPanel for ease of resizing (hide / show) all my controls.
My question is:
Is it more efficient to create a large TableLayoutPanel with all columns necessary for the controls that will be in the form, or should I nest a TableLayoutPanel into another?
On MSDN's TableLayoutPanel page, it tells us that it is better practice not to nest them due to debugging ... But debugging will not be a problem here.
Oplossing
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow