Re: general user control question

Peter Osucha <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
Just putting the basecontrol on each variant.

-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Dean Cleaver
Sent: Wednesday, August 09, 2006 4:55 PM
To: [email protected]
Subject: Re: [DOTNET-CX] general user control question

Are you using inheritance, or just putting the base control on each variant?


-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Peter Osucha
Sent: Thursday, 10 August 2006 06:41
To: [email protected]
Subject: [DOTNET-CX] general user control question

I am trying to create a few user controls in Net 2005 (in the same project).
What I would like to do is create one 'base' component - that is a
combination of some existing controls - and then some additional components
for certain situations that use the base component.  Even though I'd like to
do this in the same project, I am thinking that it might not be a good idea
(that is, to create a usercontrol 'basecontrol'
and then other usercontrols 'basevariation1', 'basevariation2', etc., that
actually have 'basecontrol'
situated on them.

So, is this a bad idea or not, please (and the biggest reason I ask is that
once I try to do this and even screw up the slightest thing in the project,
the project seems to continue to give errors from which I can't recover)?

Peter

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.