How to Overlap User Controls in Windows Application?

S

samueltilden

I know the answer is simple ... as soon as I find it.

I have a Windows Application in which I want to display a different
User Control in the bottom part of the form depending on the
functionality chosen by the user.

I have made several User Controls and they now show up in my toolbox.

How do I put them all on the bottom part of the form (including
docking) and make only one visible when needed?

Thanks.
 
P

Peter Ritchie [C# MVP]

I usually use a Panel for this. You can easily hide/show an entire panel.
The trick is dealing with these panels in the Designer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top