Ejemplo n.º 1
0
        public FormShop()
        {
            InitializeComponent();
            _repo     = new ProductsRepo();
            _cart     = ShoppingCart.GetShoppingCart();
            _controls = new List <UserControlShop>();

            IList <IProduct> productList = _repo.CreateProductList();

            GenerateProductControls(productList);
        }