C# Template Forms Get panel in parent form
I have a form that I have created that contains a panel - panel1. I have then created a template form that inherits the first form.
How can I add something t开发者_JAVA百科o the panel that I inherited from my template?
You need to set the panel's Modifiers
to Protected
in the property grid.
Make panel1 visible using protected keyword so it will be visible in your inherited class.
精彩评论