Help needed to use a control

B

ByB

Hello,


I am developping a winform application in C#, and I'd like to use in
this application the user control that can be found in this page :

http://www.codeproject.com/Articles/62576/A-C-LED-matrix-display

My problem is that I don't know how to do to have the control on my
toolbox, so I can set in in my winform, and change its size like I do
with buttons for example.

I added the LedMatrixControl.cs file to my project, and the
LedMatrixSymbolFile.xml file to the ressources of the project, but the
control do not appear in my toolbox.

Thank you to anybody who could help me to use this control.


Thank you to anybody who could help me to use this control.
 
B

ByB

Peter Duniho a pensé très fort :
Hello,


I am developping a winform application in C#, and I'd like to use in
this application the user control that can be found in this page :

http://www.codeproject.com/Articles/62576/A-C-LED-matrix-display

My problem is that I don't know how to do to have the control on my
toolbox, so I can set in in my winform, and change its size like I do
with buttons for example. [...]

I added the LedMatrixControl.cs file to my project, and the
LedMatrixSymbolFile.xml file to the ressources of the project, but the
control do not appear in my toolbox.

If you are compiling the control as part of your Solution, then it should
automatically show up in the Toolbox window, under the "General" section.

You can also add controls from a specific compiled DLL by right-clicking in
a section's area (such as the "General" section) and choosing "Choose
Items...". In the dialog window that appears, click the "Browse..." button
and navigate to the DLL containing controls you want to add.

Pete

Thank you for your answer. But when I download the demo source code
available at Codeproject and compile it, the demo works perfectly, but
in the demo solution, I don't see the control showing up in the Toolbox
window ... :-(
 

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