示例#1
0
 public void LoadOrders()
 {
     orderProcessor.LoadOrders();
     foreach (string customerName in orderProcessor.GetAllCustomers())
     {
         if (!String.IsNullOrEmpty(customerName))
         {
             customerList.Add(CreateNewCustomer(customerName, orderProcessor.GetAllOrdersFrom(customerName)));
         }
     }
 }