One form, multiple panels

  • Thread starter Thread starter David W
  • Start date Start date
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.
 
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.
 
Ah nevermind, I was mistakingly creating custom controls instead of user
controls. User controls definitely look like the way to go.

Thanks.
 
Back
Top