Can I change the default modifier from Friend to Private in the Windows Forms designer in VS 2008?

做~自己de王妃 提交于 2019-12-03 12:56:33

Annoying, isn't it.

What I usually do is when the form is stable, I replace Friend WithEvents to Private then add WithEvents to the controls that have Handles clauses.

Yes, you would think there was a setting, but I never found it.

This was suggested to Microsoft, but they chose not to fix it.

[Sorry, posting this as an answer because I don't have enough points to add comments.]

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!