Change default access modifier for controls created in UI designer

前端 未结 2 828
既然无缘
既然无缘 2021-01-20 20:44

I\'m creating winforms using visual inheritance. In order to be able to manipulate inherited UI controls in child classes I need to set the controls in the base classes to

2条回答
  •  清歌不尽
    2021-01-20 21:02

    Please go to properties and then modifiers change private to protected. This image hopefully help you. properties->modifiers->protectes

提交回复
热议问题