private void BankMenu() { user.toStringShopCar(); List <List <Goods> > goods = new List <List <Goods> >(); goods.Add(foodShop.ProductList); goods.Add(clothesShop.ProductList); goods.Add(phoneShop.ProductList); process = new ProcessBuy(); process.Goods = goods; process.userAccount(); }
//服装列表展示菜单 private void ClothesMenu() { clothesShop.toStringProductList2(); process = new ProcessBuy(user, clothesShop.ProductList); process.buy(); }
//手机列表展示菜单 private void PhoneMenu() { phoneShop.toStringProductList2(); process = new ProcessBuy(user, phoneShop.ProductList); process.buy(); }
//食物列表展示菜单 private void FoodMenu() { foodShop.toStringProductList2(); process = new ProcessBuy(user, foodShop.ProductList); process.buy(); }