private void MaterialProperty_Modify_BarButtonItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var modifyProperty = new AddMaterialProperty(); modifyProperty.Tag = "Modify"; var id = PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_MaterialPropertyList_GridView.GetFocusedRowCellValue("id"); var property = propertyService.GetAllMaterialProperty().Find(p => p.id == Convert.ToInt32(id)); modifyProperty.baseProperty = property; modifyProperty.ShowDialog(); }
//修改物料属性 private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_ModifyProperty_SimpleButton_Click(object sender, EventArgs e) { var modifyProperty = new AddMaterialProperty(); modifyProperty.Tag = "Modify"; modifyProperty.Text = "修改物料属性"; var id = PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_MaterialPropertyList_GridView.GetFocusedRowCellValue("id"); var property = propertyService.GetAllMaterialProperty().Find(p => p.id == Convert.ToInt32(id)); modifyProperty.baseProperty = property; modifyProperty.ShowDialog(); }
//修改物料属性 private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_ModifyProperty_SimpleButton_Click(object sender, EventArgs e) { var modifyProperty = new AddMaterialProperty(); modifyProperty.Tag = "Modify"; modifyProperty.Text = "修改物料属性"; var id = PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_MaterialPropertyList_GridView.GetFocusedRowCellValue("id"); var property = propertyService.GetAllMaterialProperty().Find(p => p.id == Convert.ToInt32(id)); modifyProperty.baseProperty = property; modifyProperty.ShowDialog(); }
private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e) { AddMaterialProperty addProperty = new AddMaterialProperty(); addProperty.ShowDialog(); }
private void MaterialProperty_Modify_BarButtonItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var modifyProperty = new AddMaterialProperty(); modifyProperty.Tag = "Modify"; var id = PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_MaterialPropertyList_GridView.GetFocusedRowCellValue("id"); var property = propertyService.GetAllMaterialProperty().Find(p => p.id == Convert.ToInt32(id)); modifyProperty.baseProperty = property; modifyProperty.ShowDialog(); }
private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var AM = new AddMaterialProperty(); AM.Show(); }
private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e) { AddMaterialProperty addProperty = new AddMaterialProperty(); addProperty.ShowDialog(); }
private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var AM = new AddMaterialProperty(); AM.Show(); }