https://blog.csdn.net/easyboot/article/details/68062196 可以使用Combobox.SelectText = “默认选中文本”;但是如果Combobox的DropDowStyle属性,选择为DropDownList则上面的方法就不能用了用下面的方法比较好用Combobox.SelectedIndex = Combobox.Items.IndexOf(“默认选中文本”);
本文共 264 字,大约阅读时间需要 1 分钟。
https://blog.csdn.net/easyboot/article/details/68062196 可以使用Combobox.SelectText = “默认选中文本”;但是如果Combobox的DropDowStyle属性,选择为DropDownList则上面的方法就不能用了用下面的方法比较好用Combobox.SelectedIndex = Combobox.Items.IndexOf(“默认选中文本”);
转载于:https://www.cnblogs.com/LuoEast/p/9485602.html