i use this basic code but don't work
private void button1_Click(object sender, EventArgs e)
{
var removeword = comboBox1.Items.Contains("test");
if (comboBox1.Items.Contains("test") == true)
}
else
{
comboBox1.Items.Remove(removeword);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…