C# combox不能输入的解决方法
来源:互联网 发布:ae软件好学吗 编辑:程序博客网 时间:2024/06/03 01:52
使Combox不能输入的两种方法。
方法一、 选择combox的 DropDownStyle = DropDownList 选择框不能输入。
方法二、
(1)选择 combox的 DropDownStyle = DropDown;
(2)设置combox的 KeyPress事件
private void cbDeviceType_KeyPress(object sender, KeyPressEventArgs e)
{
e.Handled = true;//取消输入事件
}
0 0
- C# combox不能输入的解决方法
- 设置combox 不能输入只能选择
- CMS窗口不能输入中文的解决方法
- Secure CRT不能输入字符的解决方法
- cmd不能输入中文的解决方法
- WPF Combox selectedItem”不能绑定”的问题
- Combox获取输入值text的方法
- Combox获取输入值text的方法
- vs2008不能创建C#项目的解决方法
- vs2008不能创建C#项目的解决方法
- C#中Combox的绑定总结
- 对于vistual studio 不能输入汉字的问题的解决方法
- word2007 不能输入中文解决方法
- vs2008不能输入CDKEY解决方法
- QtCreator 不能中文输入解决方法
- SZTextView 不能输入中文解决方法
- 关于SQL SERVER 2005 不能输入中文的解决方法
- 语言栏不见和不能输入中文的解决方法
- hdu 5297 Y sequence 容斥+迭代
- Editor中侦听 Hierarchy 中发生变化
- HDU 5293 Tree chain problem【树形DP】
- HTML元素与属性
- 浏览器的工作机制
- C# combox不能输入的解决方法
- 数字统计(区间数字)
- java迭代器
- uva 12223(树形dp)
- *********返回按钮事件返回到另一主页面*********
- bitnami-redmine服务器迁移
- POJ Blue Jeans 3080【KMP+string】
- HDU 5115 区间DP
- shape