public void SetItemPrice(int num, int item, int itemprice) { Order order = SearchOrderNum(num); order.orderItems[item].UnitPrice = itemprice; }
public void SetItemNum(int num, int item, int itemnum) { Order order = SearchOrderNum(num); order.orderItems[item].Number = itemnum; }
public void DeleteOrder(int num) { Order order = SearchOrderNum(num); orders.Remove(order); }
public void SetItemName(int num, int itemnum, string name) { Order order = SearchOrderNum(num); order.orderItems[itemnum].Name = name; }
public void SetCusName(int num, string name) { Order order = SearchOrderNum(num); order.Customer = name; }