Beispiel #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;
            }
        }
Beispiel #2
0
        private void setProductsInfo(frm_productRef.productsInformation selectedProductInfo)
        {
            int count = selectedProductInfo.selectedRows;

            ProductInfo.ProductStdPaper = selectedProductInfo.standardPaperURL;
            ProductInfo.ProductIDs      = new string[count];
            for (int i = 0; i < count; i++)
            {
                ProductInfo.ProductIDs[i] = selectedProductInfo.productIDs[i];
            }

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

            if (table != null)
            {
                gridControl1.DataSource = table;
            }
        }