示例#1
0
 protected void OnReadTagsClicked(ReadTagsClickedEventArgs e)
 {
     if (ReadTagsClicked != null)
     {
         ReadTagsClicked(this, e);
     }
 }
示例#2
0
        private void stockInControl_ReadTagsClicked(object sender, ReadTagsClickedEventArgs e)
        {
            RemoveAllControls();

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

            // 将products转成readerControl需要的格式
            IList <ReaderProductViewModel> productViewModels = ReaderProductViewModel.GetByProducts(products);

            AddReaderControl(productViewModels);
        }