private void OnOrderAdded(List <LaborDetail.ListItem> orders)
 {
     if (OrderAdded != null)
     {
         OrderAdded.Invoke(this, new OrderEventArgs(orders));
     }
 }
예제 #2
0
        public OrderBase AddOrder(OrderType orderType)
        {
            OrderBase order = OrderFactory.CreateOrder(this, orderType);

            OrderList.Add(order);

            OrderAdded?.Invoke(order);

            return(order);
        }
예제 #3
0
 protected virtual void onOrderAdded(Order o)
 {
     OrderAdded?.Invoke(this, o);
 }