C#组合框文字事件 [英] C# combo box text event

查看:108
本文介绍了C#组合框文字事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我正在使用组合框.我想检查用户是否从组合框中选择了任何文本.有什么方法可以告诉我?

Hi.
I am using a combo box. I want to check that if the user has select the any text form the combo box or not. What method can tell me that?

Thanks

推荐答案

根据环境的不同,您所需要做的就是检查comboBox.Tet属性.请参阅 http://msdn.microsoft.com/en-us/library/system .windows.forms.combobox.aspx [ ^ ].
More than likely, depending on environment, all you need to do is to check the comboBox.Tet property. See http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.aspx[^].


这篇关于C#组合框文字事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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