Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 //服装列表展示菜单
 private void ClothesMenu()
 {
     clothesShop.toStringProductList2();
     process = new ProcessBuy(user, clothesShop.ProductList);
     process.buy();
 }
Esempio n. 3
0
 //手机列表展示菜单
 private void PhoneMenu()
 {
     phoneShop.toStringProductList2();
     process = new ProcessBuy(user, phoneShop.ProductList);
     process.buy();
 }
Esempio n. 4
0
 //食物列表展示菜单
 private void FoodMenu()
 {
     foodShop.toStringProductList2();
     process = new ProcessBuy(user, foodShop.ProductList);
     process.buy();
 }