日期:2014-05-18 浏览次数:21227 次
public Form1()
{
InitializeComponent();
this.comboBox1.LostFocus += new EventHandler(comboBox1_LostFocus);
}
void comboBox1_LostFocus(object sender, EventArgs e)
{
//throw new NotImplementedException();
this.Controls.Remove(comboBox1);
}