-
ComboBox1.Items.Add(“ComboBox1”);//添加item
-
ComboBox1.SelectedIndex = 0;//设置显示的item索引
c# combobox 如何让文本中显示默认的第一条数据
最新推荐文章于 2025-01-20 21:18:43 发布
ComboBox1.Items.Add(“ComboBox1”);//添加item
ComboBox1.SelectedIndex = 0;//设置显示的item索引