79487107

Date: 2025-03-05 16:40:20
Score: 1.5
Natty:
Report link

Somebody has already mentioned it below among other things, but I would like to put it on top. If you dropped a user control with private constructor on a form, then Forms Designer cannot access the constructor and create the control at design time. That's why it deletes the declaration of the control. So likely, the Designer behaves logically correct, but it does not manifest the reason clearly. So solution would be to make constructor public. –

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vlad Gonchar