private void ShopPage_Load(object sender, System.EventArgs e) { Cart.Init(this); ProductRepository.Init(); ProductRepository.AddCategory("Obst"); ProductRepository.AddCategory("Technik"); var cats = ProductRepository.GetCategorys(); categoriesCb.Items.AddRange(cats); //ToDo: load all products in view var products = ProductRepository.GetAll(); FillProductsView(products); }