Scenes
Winform controls -DevExpress18 download and install the registration and use in VS:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243
LookUpEdit use DevExpress drop-down box control, add item option value, modify the default display values:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/102464577
Note:
Blog home page:
https://blog.csdn.net/badao_liumang_qizhi
public concern number of
programs overbearing ape
acquisition-related programming e-books, tutorials and push for free download.
achieve
DevExpress.XtraEditors.ComboBoxEdit
Declare the object drop-down box
DevExpress.XtraEditors.ComboBoxEdit comboBox = new DevExpress.XtraEditors.ComboBoxEdit();
Gets the object drop-down menu items
ComboBoxItemCollection coll = comboBox.Properties.Items;
Assignment drop-down box
foreach(ControlModelItem controlModelItem in controlModelItems) { coll.Add(controlModelItem); }
Set the selected item
comboBox.SelectedItem
comboBox.SelectedIndex
effect