Beispiel #1
0
        public void SetItemPrice(int num, int item, int itemprice)
        {
            Order order = SearchOrderNum(num);

            order.orderItems[item].UnitPrice = itemprice;
        }
Beispiel #2
0
        public void SetItemNum(int num, int item, int itemnum)
        {
            Order order = SearchOrderNum(num);

            order.orderItems[item].Number = itemnum;
        }
Beispiel #3
0
        public void DeleteOrder(int num)
        {
            Order order = SearchOrderNum(num);

            orders.Remove(order);
        }
Beispiel #4
0
        public void SetItemName(int num, int itemnum, string name)
        {
            Order order = SearchOrderNum(num);

            order.orderItems[itemnum].Name = name;
        }
Beispiel #5
0
        public void SetCusName(int num, string name)
        {
            Order order = SearchOrderNum(num);

            order.Customer = name;
        }