Пример #1
0
        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();
        }
Пример #2
0
        //修改物料属性
        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();
        }
Пример #3
0
 //修改物料属性
 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();
 }
Пример #4
0
 private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
 {
     AddMaterialProperty addProperty = new AddMaterialProperty();
     addProperty.ShowDialog();
 }
Пример #5
0
 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();
 }
Пример #6
0
 private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     var AM = new AddMaterialProperty();
     AM.Show();
 }
Пример #7
0
        private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
        {
            AddMaterialProperty addProperty = new AddMaterialProperty();

            addProperty.ShowDialog();
        }
Пример #8
0
        private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var AM = new AddMaterialProperty();

            AM.Show();
        }