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