单击自定义propertyGrid项时如何显示表单 [英] How to show the form when i click on custom propertyGrid item

查看:107
本文介绍了单击自定义propertyGrid项时如何显示表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在向TextBox添加一个自定义属性。当我点击此属性时,我需要显示表单。此表单有一个TextBox和一个Button.after进入Text并单击ok按钮...输入文本显示到那个属性项。

请任何一个帮助..

解决方案

创建一个自定义TypeConvertor并设置 TypeConverterAttribute

参考:http:http ://msdn.microsoft.com/en-us/library/ayybcxe5.aspx搜索结果

i am adding one custom property to TextBox.when i click on this property i need to show the form.and this form having one TextBox and one Button.after entering the Text and click ok Button..the entering text displaying into that property item.

Please any one help ..

解决方案

Create a custom TypeConvertor and set the TypeConverterAttribute for the property

Refer:
http://msdn.microsoft.com/en-us/library/ayybcxe5.aspx


这篇关于单击自定义propertyGrid项时如何显示表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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