有没有办法向 System.Windows.Form.Control 基类添加属性,而无需定义新的继承类(在 VB.NET 中)?
我想向所有 System.Windows.Form.Control 控件添加 Tooltip 属性,该属性将可在该控件的属性窗口中浏览。
最佳答案
你想写一个extender provider .
关于vb.net - 如何在 VB.NET 中向 System.Windows.Form.Control 添加属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9726940/