Probably the project that includes Form1 is based on .NET Framework, while ColorSelection is based on .NET. Try using the same kind of .NET.
Custom control does not appear in Toolbox
Friends.
I created a custom control. Once created, I added a new Windows Form project in the same solution for me to place the control created on this new Form. When I click on the form, the custom control does not appear in the Toolbox. When I click on the control, it appears in the Toolbox. That is, I am not able to include this control in the form. Does anyone have any idea what's going on?
See images.
1 additional answer
Sort by: Most helpful
-
José Carlos 886 Reputation points
2023-02-11T22:01:36.35+00:00 Good night Viorel.
That was it. I redid the program and it worked. I had created the control first and then added the form.
Now I created the form first and then the control. It worked out.
Once again thank you very much for your help.