private void UpdateVoucherProduct()
 {
     facade.UpdateVoucherProductInfo(giftCardProductVM, (result) =>
     {
         if (result == null)
         {
             CPApplication.Current.CurrentPage.Context.Window.Alert("更新失败!", MessageType.Warning);
         }
         else
         {
             CPApplication.Current.CurrentPage.Context.Window.Alert("提示", "更新成功", MessageType.Information, (obj, args) =>
             {
                 CloseDialog((new ResultEventArgs()
                 {
                     DialogResult = DialogResultType.OK
                 }));
             });
         }
     });
 }
 private void UpdateVoucherProduct()
 {
     _facade.UpdateVoucherProductInfo(_voucherProductVM, (result) =>
     {
         if (result == null)
         {
             Window.Alert("更新失败!");
         }
         else
         {
             Window.Alert("提示", "更新成功", MessageType.Information, (obj, args) =>
             {
                 //_facade.GetGiftVoucherProductInfo(RequestSysNo.Value, (vm) =>
                 //{
                 //    Window.Refresh();
                 //});
                 Window.Refresh();
             });
         }
     });
 }