Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

One form, multiple panels

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David W - 20 Feb 2007 15:45 GMT
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.
Ciaran O''Donnell - 20 Feb 2007 15:55 GMT
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.
Signature

Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com

> 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
[quoted text clipped - 6 lines]
>
> Thanks.
David W - 20 Feb 2007 16:03 GMT
Ah nevermind, I was mistakingly creating custom controls instead of user
controls.  User controls definitely look like the way to go.

Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.