开发者

C# Template Forms Get panel in parent form

开发者 https://www.devze.com 2023-02-13 14:38 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号