如何创建智能标签 [英] How To Create Smart Tag

查看:72
本文介绍了如何创建智能标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

以下是一些可能有用的附加链接

http://www.add-in-express.com/add-in- net/smart-tags.php [ ^ ]
http://msdn.microsoft.com/en-us/library/ms171829.aspx [ ^ ]
http://en.csharp-online.net/How_Visual_CSharp_Helps_You_Code%E2%80%94Using_Propera_Smart_Tag ^ ]


检查这两个链接

如何使用C#制作智能标签 [创建少于10秒的智能标记 [ ^ ].并在此处查看StackOverFlow上的示例:[ ^ ].

最后,马修·麦克唐纳(Matthew MacDonald)在WinForms上的出色著作中,有关于使用智能标记构建复杂控件的章节.
我调查了一下,认为这对我来说太费力了,但不要让它阻止您:)


hi how can i create a smart tag for a component that i created?

解决方案

Here are some additional links that might be helpful

http://www.add-in-express.com/add-in-net/smart-tags.php[^]
http://msdn.microsoft.com/en-us/library/ms171829.aspx[^]
http://en.csharp-online.net/How_Visual_CSharp_Helps_You_Code%E2%80%94Using_Property_Smart_Tags[^]


Check these two links out

How to make a Smart Tag using C#[^]

Create smart tag less than 10 sec[^]

Good luck


This is actually a fairly complicated thing to do. You are going to need to use the System.ComponentModel.Design library, and custom Attributes. You are going to have to implement classes that inherit from System.Windows.Forms.Design.ControlDesigner, and from DesignerActionList.

There are several articles on CodeProject that can help you[^]

You might start here at the Microsoft walk-through:[^]. And also see the example here on StackOverFlow:[^].

And, finally, Matthew MacDonald''s excellent book on WinForms has chapters on building complex controls with smart-tags.

I looked into this, and decided it was too much effort for me, but don''t let that stop you :)


这篇关于如何创建智能标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆