閱讀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對象的區別