public UserShoppingCartForm(User user) { InitializeComponent(); this.user = user; manager = new PriceCompareManager(); PopulateUserShoopingCart(); }
public AddMissingItemsForm(long chainId, int storeId, PriceCompareManager priceCompareManager, IEnumerable <ItemCart> itemsNotFound, FlowLayoutPanel panel) { InitializeComponent(); _priceCompareManager = priceCompareManager; _itemsNotFound = itemsNotFound; _panel = panel; _storeId = storeId; _chainId = chainId; }
public ItemToShowInCart(PriceCompareManager priceCompareManager, long itemCode, string itemName, int itemCount, MouseEventHandler removeItemFromCart) { InitializeComponent(); ItemCode = itemCode; _priceCompareManager = priceCompareManager; lblItemName.Text = itemName; nmItemCount.Value = itemCount; btnRemove.MouseClick += removeItemFromCart; }
public ComparerForm(ShoppingCart oldShoppingCart, List <Store> stores) { InitializeComponent(); this.oldShoppingCart = oldShoppingCart; this.stores = stores; manager = new PriceCompareManager(); PopulateNewShoppingCart(oldShoppingCart, listViewOldShoppingCart, labelOldShoppingCart); PopulateStores(); }
public PriceCompareForm(User user) { InitializeComponent(); this.user = user; manager = new PriceCompareManager(); AddStoresToListView(); if (user == null) { buttonSaveShopingCart.Visible = false; buttonShowLast.Visible = false; } }
public LoginRegisterForm() { InitializeComponent(); manager = new PriceCompareManager(); }
public PriceCompareStoresForm(PriceCompareManager priceCompareManager, IEnumerable <ItemCart> items) { InitializeComponent(); _priceCompareManager = priceCompareManager; _items = items; }
public MainWindow(User user) { InitializeComponent(); _priceCompareManager = new PriceCompareManager(user); }
public CartContent(PriceCompareManager priceCompareManager) { InitializeComponent(); _priceCompareManager = priceCompareManager; }