this.cboVendor.SelectedIndexChanged -= new System.EventHandler(this.cboVendor_SelectedIndexChanged); cboVendor.DataSource = myClass.RunQueryCmd(strSqlCmd); cboVendor.DisplayMember = "SupplierCode"; //添加事件 this.cboVendor.SelectedIndexChanged += new System.EventHandler(this.cboVendor_SelectedIndexChanged);
[转]如何在数据绑定时不让combox控件触发SelectedIndexChanged事件,布布扣,bubuko.com
[转]如何在数据绑定时不让combox控件触发SelectedIndexChanged事件
原文:http://www.cnblogs.com/Small-Life/p/3923043.html