示例#1
0
        private void setProductInfo(frm_productRef.productInformation selectedProductInfo)
        {
            //단일제품선택
            ProductInfo.ProductStdPaper = selectedProductInfo.standardPaperURL;
            ProductInfo.ProductIDs      = new string[1];
            ProductInfo.ProductIDs[0]   = selectedProductInfo.productID;

            DataTable table = PerformanceSettingHelper.getProductsInformation(ProductInfo.ProductIDs);

            if (table != null)
            {
                gridControl1.DataSource = table;
            }
        }
示例#2
0
        private void setProductInfo(frm_productRef.productInformation selectedProductInfo)
        {
            txt_jpID.Text            = selectedProductInfo.productID;
            txt_jpName.Text          = selectedProductInfo.productName;
            txt_jpNum.Text           = selectedProductInfo.productNum;
            txt_jpCar.Text           = selectedProductInfo.carName;
            txt_jpModel.Text         = selectedProductInfo.modelName;
            txt_jpMtrl.Text          = selectedProductInfo.mtrlNum;
            txt_cycle.EditValue      = selectedProductInfo.cycleTime;
            txt_cycleValid.EditValue = selectedProductInfo.cycleTime;
            txt_cavity.Text          = selectedProductInfo.cavity;
            txt_cavityValid.Text     = selectedProductInfo.cavity;
            txt_resin.Text           = selectedProductInfo.resinName;
            txt_resin.Tag            = selectedProductInfo.resinID;
            string stdPaperURL = selectedProductInfo.standardPaperURL;

            if (!stdPaperURL.Equals("no image"))
            {
                pic_stdPaper.LoadAsync(stdPaperURL);
                pic_stdPaper.Tag = stdPaperURL;
            }
        }
示例#3
0
 private void setProductInfo(frm_productRef.productInformation selectedProductInfo)
 {
     txt_prodid.Tag  = selectedProductInfo.productID;
     txt_prodid.Text = selectedProductInfo.productName;
 }