Answer the question
In order to leave comments, you need to log in
Creating Custom Controls
I need to write my own text editor control (text box with code folding, line numbering, text highlight, etc.). I found a lot of tutorials on the Internet about this, but they described the creation of elements using the constructor. And I plan to draw everything myself (not using standard elements). All the same, I found that they are all written in a class that inherits from Control. I wrote part of the code and decided to test it. Added a WF project to the solution. I right-clicked on the elements panel, chose "Select elements", clicked browse and selected the .dll with the project (having compiled it before). But he gave me that there are no components in the library that can be placed in this element panel. Maybe I'm doing something wrong? Please help, thanks in advance.
PS I use Visual Studio Express.
Answer the question
In order to leave comments, you need to log in
It's not at all clear what the problem is. Perhaps it will become clearer if you upload the project somewhere and show it.
In general, if it's not so important to write your own control, try using, for example,
www.codeproject.com/Articles/30936/Using-ICSharpCo...
well, or just look at its source code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question