阅读626 返回首页    go 阿里云 go 技术社区[云栖]


DEV ComboBoxEdit控件

作者:jiankunking 出处:https://blog.csdn.net/jiankunking
例子:
//下面两句话应该写在Load函数中
comboBoxEdit1.Properties.Items.Add("0-未导入AA");
comboBoxEdit1.Properties.Items.Add("1-已导入AA");
//下面这句话应该是让comboBoxEdit默认0-未导入到AA的语句 
 comboBoxEdit1.SelectedIndex = 0;
1、comboBoxEdit1.EditValue获取的是comboxedit上显示的所有内容(数字与汉字都有)。
2、comboBoxEdit1.SelectedIndex获取的是数字

最后更新:2017-04-03 12:54:12

  上一篇:go Unexpected XML declaration. The XML declaration must be the first node in the document and no white
  下一篇:go C#中数组、ArrayList与List对象的区别