Toolbox custom components

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
 
H

Herfried K. Wagner [MVP]

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.
 
R

Ronny

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
 
P

Peter Morris

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.
 
H

Herfried K. Wagner [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top