请看下图,它显示了 DataGridView 的智能标记。
DataGridView Smart Tags http://img199.imageshack.us/img199/5871/post517531249536112.jpg
现在我正在创建一个新组件,我希望它支持在智能标记中显示一些属性。如何将属性添加到智能标记?
最佳答案
我用了http://msdn.microsoft.com/en-us/library/default.aspx?q=smart+tag+windows+forms+designer .
结果找到Walkthrough: Adding Smart Tags to a Windows Forms Component .
任何进行相同搜索的人都会找到相同的文章。
更新:该链接不再有效。我刚刚尝试搜索 "smart tag windows forms designer" , 并找到 "Walkthrough: Adding Smart Tags to a Windows Forms Component"作为第一个搜索命中。在 Google 中进行相同的搜索显示"How to: Attach Smart Tags to a Windows Forms Component"作为第一次点击,但显示与第二次点击相同的演练。
关于c# - 如何将智能标记添加到我的 .NET 组件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1281934/