/// <summary>
 ///     修改明信片正面版式
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BarButtonItem3_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (PostCardView.GetFocusedRow() is PostCardInfo postCard)
     {
         PostCardItemApi.ChangePostCardFrontStyle(postCard.PostCardId, e.Item.Tag as string, resp =>
         {
             var postCardInfo = resp.TranlateToPostCard();
             // postCard.ProcessStatus = postCardInfo.ProcessStatus;
             postCard.ProductFileId     = postCardInfo.ProductFileId;
             postCard.FrontStyle        = postCardInfo.FrontStyle;
             postCard.ProcessStatusText = postCardInfo.ProcessStatusText;
             PostCardChanged();
         }, message => { XtraMessageBox.Show(message); });
     }
 }
        private void ChangeFrontStyle(string style)
        {
            if (!(PostCardView.GetFocusedRow() is PostCardInfo postCard))
            {
                return;
            }

            PostCardItemApi.ChangePostCardFrontStyle(postCard.PostCardId, style, resp =>
            {
                var postCardInfo = resp.TranlateToPostCard();
                // postCard.ProcessStatus = postCardInfo.ProcessStatus;
                postCard.ProductFileId     = postCardInfo.ProductFileId;
                postCard.FrontStyle        = postCardInfo.FrontStyle;
                postCard.ProcessStatusText = postCardInfo.ProcessStatusText;
                PostCardChanged();
            }, message => { XtraMessageBox.Show(message); });
        }