I want to add a new custom control (Watermark Textbox) into my project. I add the dll file as the reference, clean solution, rebuild project. However the watermark textbox still does not appear in the toolbox of the form design. Could you please tell me how to make it available?
Asked
Active
Viewed 30 times
0
-
@HansPassant: I have tried to set Toolbox->Automatically Populate Toolbox = true, reset toolbox, clean solution, rebuild project, etc. It doesn't help. I can create the custom control programmatically, but for the form design the custom control does not exist. – chipbk10 Mar 28 '14 at 11:14
-
Ah, I see the mistake now, it is because you use a pre-built DLL. Right-click the toolbox, Choose Items, Browse tab and pick that DLL. Do beware that this has typical Codeproject quality, it is much simpler and reliable to use the code in [this answer](http://stackoverflow.com/a/4902969/17034). – Hans Passant Mar 28 '14 at 11:21