Example #1
0
        // 根据serial nuber读取入库信息
        private void btnReadStockIn_Click(object sender, EventArgs e)
        {
            string serialNumber = txtSerialNumber.Text;

            stockIn = StockInService.GetBySerialNumber(serialNumber);

            IList <Product> products = ProductService.GetProductsBuStockIn(stockIn);

            dgProducts.DataSource = products;
        }