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 MaterialRationAdd_Load(object sender, EventArgs e) { ProjectCmbItem.ProjectCmbBind(cmb_project); //ProjectCmbItem.ReasonCmbBind(cmb_reason); //ProjectCmbItem.SiteCmbBind(cmb_site2); ProjectCmbItem.SiteCmbBind(cmb_site); ProjectCmbItem.BindDisciplineName(cmb_discipline); //ProjectCmbItem.BindDiscipline(cmb_discipline2); ecprojectid = ProjectSystem.FindProjectid(ProjectId).ToString(); 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 ConvertStandard_Load(object sender, EventArgs e) { ProjectCmbItem.ProjectCmbBind(cmb_project); //ProjectCmbItem.ReasonCmbBind(cmb_reason); ProjectCmbItem.SiteCmbBind(cmb_site); Str_FX = XmlOper.getXMLContent("Fx"); Str_Discipline = XmlOper.getXMLContent("Discipline"); ActivityName = XmlOper.getXMLContent("Parttype"); }
private void MaterialRationForm_Load(object sender, EventArgs e) { ProjectCmbItem.SiteCmbBind(cmb_site); Str_FX = XmlOper.getXMLContent("Fx"); ActivityName = XmlOper.getXMLContent("Parttype"); Str_Discipline = XmlOper.getXMLContent("Discipline"); DataSet MyDs = GetMaterialRationDS("SP_GETMATERIALRATION", projectid, drawing, indicator); this.dgv1.DataSource = MyDs.Tables[0].DefaultView; MyDs.Dispose(); }
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(); }
private void frmPartParaList_Load(object sender, EventArgs e) { //ProjectCmbBind(); //取出所有零件类别 ecprojectid = ProjectSystem.FindProjectid(ProjectId); string sqlstr = "select typeid,type_desc from mm_part_type_tab where parent_id<>0"; ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.BindDiscipline(cmb_dpname); ProjectCmbItem.SiteCmbBind(cmb_site); //QuerydataBindpara(); }
private void M_Estimate_Load(object sender, EventArgs e) { ProjectCmbItem.ProjectCmbBind(cmb_project); ProjectCmbItem.BindDiscipline(cmb_dpname); ProjectCmbItem.SiteCmbBind(cmb_site); }