private void SaveVoucherProduct()
 {
     _facade.AddGiftVoucherProductInfo(_voucherProductVM, (result) =>
     {
         int sysNo = result;
         if (sysNo > 0)
         {
             Window.Alert("提示", "创建成功!", MessageType.Information, (obj, args) =>
             {
                 //this._voucherProductVM.SysNo = sysNo;
                 Window.Close();
                 Window.Navigate(string.Format("/ECCentral.Portal.UI.MKT/GiftCardProductMaintain/{0}", sysNo), null, true);
             });
         }
     });
 }
 private void SaveVoucherProduct()
 {
     facade.AddGiftVoucherProductInfo(giftCardProductVM, (result) =>
     {
         int sysNo = result;
         if (sysNo > 0)
         {
             CPApplication.Current.CurrentPage.Context.Window.Alert("提示", "创建成功!", MessageType.Information, (obj, args) =>
             {
                 CloseDialog((new ResultEventArgs()
                 {
                     DialogResult = DialogResultType.OK
                 }));
             });
         }
     });
 }