Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何向VB.NET中的System.Windows.Form.Control添加属性?_Vb.net_Properties_Controls_Tooltip_Base Class - Fatal编程技术网

如何向VB.NET中的System.Windows.Form.Control添加属性?

如何向VB.NET中的System.Windows.Form.Control添加属性?,vb.net,properties,controls,tooltip,base-class,Vb.net,Properties,Controls,Tooltip,Base Class,有没有一种方法可以将属性添加到System.Windows.Form.Control基类而不定义新的继承类(在VB.NET中) 我想向所有System.Windows.Form.Control控件添加一个工具提示属性,该属性将可在该控件的属性窗口中浏览。您想编写一个工具提示。工具提示组件已经以这种方式工作。注意它是如何将“ToolTip on”属性添加到每个控件的。是的,我已经注意到了。感谢可能的副本

有没有一种方法可以将属性添加到System.Windows.Form.Control基类而不定义新的继承类(在VB.NET中)


我想向所有System.Windows.Form.Control控件添加一个工具提示属性,该属性将可在该控件的属性窗口中浏览。

您想编写一个工具提示。

工具提示组件已经以这种方式工作。注意它是如何将“ToolTip on”属性添加到每个控件的。是的,我已经注意到了。感谢可能的副本