Re: general user control question

Peter Osucha <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
You know, I had a really good book (I thought) on developing controls with
VB6 (by Jose Mojica).  I wish there was a similar reference for NET.  Thanks
for the note though.  I will look at inheriting instead of siting.

Peter

> -----Original Message-----
> From: Discussion relating to the specifics of the C# and
> Managed C++ languages [mailto:[email protected]]
> On Behalf Of Dean Cleaver
> Sent: Thursday, August 10, 2006 9:36 AM
> To: [email protected]
> Subject: Re: [DOTNET-CX] general user control question
>
> Personally, I use inheritance - but you have to define the
> common functions clearly first.
>
> -----Original Message-----
> From: Discussion relating to the specifics of the C# and
> Managed C++ languages [mailto:[email protected]]
> On Behalf Of Peter Osucha
> Sent: Friday, 11 August 2006 00:21
> To: [email protected]
> Subject: Re: [DOTNET-CX] general user control question
>
> 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.