コード例 #1
0
        private void CustomerOrderDelivery(string orderID)
        {
            Order order       = marketingManager.GetCustomerOrder(orderID);
            bool  canGetOrder = WarehouseManager.CanGetProducts(order);

            if (!canGetOrder)
            {
                cantDeliverOrder();
            }
            else
            {
                WarehouseManager.GetProducts(order);
                marketingManager.RemoveCustomerOrder(order);
                Event_CustomerOrdersListUpdate(this, null);
            }
        }