Hi everyone,
I am trying to create a base user control with couple of panels, a title label and couple of buttons. My intention is to start with this base so I can have a similar look and similar controls. For my inherited user controls, I will add more controls and behavior. BUT currently, my inherited user controls cannot be edited. Am I missing something? Thanks in advance.
Frank,
As soon as I read your comment, the light went on!! Yes, I went back and changed my panel modifiers on the file “ucBaseControl.Designer.cs” (this is my base user control class) from private to public. Now I can add controls into these panels on my inherited controls.
Thank you very much.
Edwin
Edwin,
you might want to check your controls modifiers. They should be protected or public.
If that´s not the reason, please send us a small runnable test case that we can check.
Best regards
Frank
Please login first to submit.