Exemplo n.º 1
0
        public async Task SendOrderMessage()
        {
            this.IsBusy = true;
            this.NotifyOfPropertyChange(() => this.IsBusy);
            DispatcherHelper.DoEvents();

            await MessageSync.WriteOrderMessage(this.Order.Account, this.Order.BuyerID, this.Order.OrderNO, this.Ctx);

            this.IsBusy = false;
            this.NotifyOfPropertyChange(() => this.IsBusy);

            if (this.OnSuccess != null)
            {
                this.OnSuccess(this.Order.OrderNO, this.Order.Account);
            }
        }
Exemplo n.º 2
0
 public async Task Send(ReminderOrder order)
 {
     await MessageSync.WriteOrderMessage(order.Account, order.BuyerID, order.OrderNO, order.Msg);
 }