logo       
Bookmark and Share

RE: User Control Vs components: msg#00087

Subject: RE: User Control Vs components
I'd like to add a little clarification to this if I may. If by "component",
the original poster meant "derive from System.ComponentModel.Component or
implement the Icomponent interface", then the 5-second distinction is:

- create a user control for re-usable UI objects
- create a component for re-usable non-UI objects that you want to be able
to add to the VS.NET toolbox and have visual designers for
- create a class for re-usable non-UI objects that don't need to be
dragged/dropped/designable

-Chris

-----Original Message-----
From: Nick Hebb [mailto:nick_hebb@xxxxxxxxx] 
Sent: Wednesday, December 22, 2004 1:30 PM
To: padnug@xxxxxxxxxxxxxxx
Subject: Re: [padnug] User Control Vs components


The 5-second distinction:
- create a user control for re-usable UI objects
- create a component for re-usable non-UI objects


--- sriprog <sriprog@xxxxxxxxx> wrote:

> 
> can some one tell me the difference between "user control" and a 
> "component" and when to use what.........i mean in which scenario do 
> we use a user control and in which a component
> 
> thanks
> shri
> 
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>