I have a solution that includes two projects. My main project is a windows form and the other project includes two user controls that I created. I have a test form in the second project, and there I have no problem using the user controls from the toolbox. However, in my main project I cannot use the user controls. I've found various 'solutions' online and tried them all with no success. The problem is, the controls ARE in the toolbox, they are just grayed out. I have:
NOTE: If I create the user control programmatically, it compiles, shows up and works perfectly fine on run! I want it to show up in the designer though and not be gray in the toolbox.
Make sure the control you want to add is a Public class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With