private void InitData() { this.tbCode.Caption = string.Empty; this.tbName.Caption = string.Empty; this.tbPhone.Caption = string.Empty; //维修资质 CommonCtrl.CmbBindDict(this.cmbWXZZ, "sys_repair_qualification"); //单位性质 CommonCtrl.CmbBindDict(this.cmbGSXZ, "sys_enterprise_property"); CommonCtrl.CmbBindProvice(this.cmbProvince, "省"); CommonCtrl.CmbBindCity(this.cmbCity, string.Empty, "市"); CommonCtrl.CmbBindCountry(this.cmbCountry, string.Empty, "县"); }
private void cmbProvince_SelectionChangeCommitted(object sender, EventArgs e) { CommonCtrl.CmbBindCity(this.cmbCity, this.cmbProvince.SelectedValue.ToString(), "市"); CommonCtrl.CmbBindCountry(this.cmbCountry, string.Empty, "县"); }