Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
 }
Exemplo n.º 4
0
 private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
 {
     AddMaterialProperty addProperty = new AddMaterialProperty();
     addProperty.ShowDialog();
 }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
 private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     var AM = new AddMaterialProperty();
     AM.Show();
 }
Exemplo n.º 7
0
        private void PartsMange_MaterialPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
        {
            AddMaterialProperty addProperty = new AddMaterialProperty();

            addProperty.ShowDialog();
        }
Exemplo n.º 8
0
        private void MaterialProperty_Add_BarButtonItem_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var AM = new AddMaterialProperty();

            AM.Show();
        }