Exemple #1
0
        /// <summary>
        /// 作废
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnVoid_Click(object sender, RoutedEventArgs e)
        {
            GiftCardInfo item = VM.ConvertVM <GiftCardVM, GiftCardInfo>();

            facade.SetGiftCardInvalid(item, (obj, args) =>
            {
                if (args.FaultsHandle())
                {
                    return;
                }

                CPApplication.Current.CurrentPage.Context.Window.Alert(ResGiftCardInfo.Information_OperateSuccessful, Newegg.Oversea.Silverlight.Controls.Components.MessageType.Information);
                CloseDialog(DialogResultType.OK);
            });
        }