我有这个代码:
private void button1_Click(object sender, EventArgs e)
{
if (comboBox1.SelectedItem.ToString() == "blahblah")
{
processing ps = new processing();
pictureBox1.Image = ps.blahblah(bmp);
}
else
{...
}
}
所以ComboBox的动作是通过点击button1来完成的。选择项目后是否可以立即采取行动?没有按钮点击?