The problem is that I have three usercontrols for three shapes, two of them are displayed, and one is not (circled in red, three textboxes should be visible in the control). It is not displayed neither in the form designer, nor during the program execution. I tried everything, exclude from the project, re-add, rebuild, clean, delete the control completely and throw it on a new one. I do not know what to do anymore, I rummaged through almost everything, even the English-speaking forums. In the code it is described exactly the same as the other two, which are displayed.

Thanks for the answer!

  • It looks like a pretty simple project. If possible, put the form files and the problem user control somewhere (along with Designer.cs). Or try to make a very simple project with a similar problem and post it (for example on GitHub). - Uranus
  • Try first to make this user a control on the BringToFront form. It may be overlapped by another control. - Uranus
  • Thanks for the answer! But the decision was absolutely stupid. I am simply public ParallelepipedControl () {InitializeComponent (); } I forgot to write these lines, but I did not forget to the other two controls! Thanks again for the time spent, I just turned out to be an inattentive fool!)) - Alibek Akhanov

0