One form, multiple panels

D

David W

I have an explorer type application with navigation on the left half of the
form and a viewing/details panel on the right. The right panel can show
different content types based on what is clicked in the left side.

What is the best way to organize this code. Should each panel/content type
be a partial class in the main form? Or should I create a custom control
for each panel/content type? The custom controls aren't very designer
friendly and the partial classes aren't the cleanest approach.

Thanks.
 
G

Guest

I think you should have a different user control for the diferent content
types. You may want to explain more why you think they are not designer
friendly as I have no issues with them.
 
D

David W

Ah nevermind, I was mistakingly creating custom controls instead of user
controls. User controls definitely look like the way to go.

Thanks.
 

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