开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜