private void MaterialRequireAdd_Load(object sender, EventArgs e) { ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.ReasonCmbBind(cmb_reason); ProjectCmbItem.SiteCmbBind(cmb_site2); ProjectCmbItem.SiteCmbBind(cmb_site); ProjectCmbItem.BindDiscipline(cmb_discipline); ProjectCmbItem.BindDiscipline(cmb_discipline2); UnitCmbBind(); ReasonCmbBind(); listviewTitleBind(); if (MEOID == "0") { btn_save.Enabled = true; btn_select.Enabled = true; } else { if (MEOSTATE == "1") { btn_save.Enabled = true; btn_select.Enabled = true; } } }
private void Form1_Load(object sender, EventArgs e) { ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.ReasonCmbBind(cmb_reason); ProjectCmbItem.SiteCmbBind(cmb_site2); ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.BindDiscipline(cmb_discipline2); }
private void MISC_PROCUREMENT_Query_Load(object sender, EventArgs e) { // TODO: 这行代码将数据加载到表“dataSet1.MM_PART_REQUIRE_VIEW”中。您可以根据需要移动或移除它。 //this.mM_PART_REQUIRE_VIEWTableAdapter.Fill(this.dataSet1.MM_PART_REQUIRE_VIEW); ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.ReasonCmbBind(cmb_reason); ProjectCmbItem.SiteCmbBind(cmb_site2); ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.BindDiscipline(cmb_discipline2); BindPartNobyAct(); }