示例#1
0
 private void OrderProcessingChangeCompleted(IAsyncResult ar)
 {
     if (OrderProcessingChange == null)
     {
         return;
     }
     OrderProcessingChange.EndInvoke(ar);
 }
示例#2
0
            // OrderProcessingChange
            public void OnOrderProcessingChange(int count)
            {
                if (OrderProcessingChange == null)
                {
                    return;
                }
                this.OrdersProcessedCount = count;

                OrderProcessingChange.BeginInvoke(this, new EventArgs(),
                                                  new AsyncCallback(OrderProcessingChangeCompleted), null);
            }