Question : Add a custom control (component) to my Toolbox

I have a new custom control called CustomListBox,  I have added it to a Project in my VS 2008 Windows Forms appllication.   It is saved as CustomListBox.cs.
I would like to add it to my Controls toolboxin the VS IDE, but when I try to Choose Items in the Toolbox, it is ,of course, looking for a .dll, not a .cs project file.

What's the trick??

Thanks  ...

Answer : Add a custom control (component) to my Toolbox

Something like this?

Chris
1:
2:
3:
4:
5:
6:
7:
Sub getBord()
Dim wrd As Object

    For Each wrd In ThisDocument.Words
        If wrd.Borders(wdBorderTop).Visible Then MsgBox "Do Something with " & wrd
    Next
End Sub
Random Solutions  
 
programming4us programming4us