private void transportContractadd_Load(object sender, EventArgs e) { doCombox = new DoCombox(cmb_kind, cmb_name, cmb_model, transportLogic.getType(rbttype1, rbttype2)); rbttype1.CheckedChanged += rbttype_CheckedChanged; rbttype2.CheckedChanged += rbttype_CheckedChanged; transportLogic.transportUnitBind(cmb_transportUnit); transportLogic.siteBind(cmb_site1); transportLogic.siteBind(cmb_site2); transportLogic.transportSettlementMethodBind(cmb_transportSettlementMethod); transportLogic.contractNoList(cmb_no); dt = transportLogic.CreatTable(); dgv_transportGoods.DataSource = dt; }
private void rbttype_CheckedChanged(object sender, EventArgs e) { doCombox = new DoCombox(cmb_kind, cmb_name, cmb_model, transportLogic.getType(rbttype1, rbttype2)); }