自定义ToolStripItem [英] Custom ToolStripItem

查看:92
本文介绍了自定义ToolStripItem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在为ToolStrip设计ToolStripItem,但是我有一个小问题.

在设计模式下添加我的ToolStrip项时,设计模式会崩溃.

I''ve been working on a ToolStripItem for the ToolStrip, but I have a small problem.

When adding my ToolStrip item in Design Mode, Design Mode crashes.
What interfaces are needed to implement this functionality?

推荐答案

ToolStripItemDesignerAvailabilityAttribute:
ToolStripItemDesignerAvailabilityAttribute: http://msdn.microsoft.com/en-US/library/system.windows.forms.design.toolstripitemdesigneravailabilityattribute%28v=VS.80%29.aspx[^]


这篇关于自定义ToolStripItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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