这是在我切换dropdownstyle
到dropdownlist
. 有谁知道我如何重写comboBox1.Text != "None"
以使用该SelectedItem
格式?
public void Form1_Load(object sender, EventArgs e)
{
comboBox1.SelectedItem = "None";
}
if (comboBox1.Text != "None")
{
checkBox1.Checked = true;
}