示例#1
0
        public void Add(string storeName, string url,
                        int amt, int price, string city, int x, int y)
        {
            ItemVend v = new ItemVend()
            {
                Name   = storeName,
                URL    = url,
                Amount = amt,
                City   = city,
                Price  = price,
                X      = x,
                Y      = y
            };

            LocalItemPriceL.Add(v);
        }
示例#2
0
        public void Add(string storeName, string url,
                        int amt, int price, string city, int x, int y)
        {
            ItemVend v = new ItemVend()
            {
                Name = storeName,
                URL = url,
                Amount = amt,
                City = city,
                Price = price,
                X = x,
                Y = y
            };

            LocalItemPriceL.Add(v);
        }