Toolbox custom components

  • Thread starter Thread starter Ronny
  • Start date Start date
R

Ronny

I found some ready c# project and when I load it into VS2005 I see that it
inroduce 2 components in the toolbox.
How does the solution/project does that?
Regards
Ronny
 
Ronny said:
I found some ready c# project and when I load it into VS2005 I see that it
inroduce 2 components in the toolbox.
How does the solution/project does that?

Which type of components? User controls, for example, are added to the
toolbox automatically.
 
Thanks,
Following your answer I saw that both components do inherit from
UserControl(among other classes) so I guise that it matches exactly to your
advise...
What is the advantage of having the component a toolbox representation, does
that make the programming easier?
Regards
Ronny
 
What is the advantage of having the component a toolbox representation,
does that make the programming easier?

Does using the toolbox make your life easier? If so then yes.
 
Ronny said:
Following your answer I saw that both components do inherit from
UserControl(among other classes) so I guise that it matches exactly to
your advise...
What is the advantage of having the component a toolbox representation,
does that make the programming easier?

Yes, because it enables you to place the control on another usercontrol or
form easily in the designer without writing a single line of code.
 
Back
Top