/// <summary>
 /// 实时显示各项金额
 /// </summary>
 /// <param name="costFee">费用对象</param>
 private void SetLabelText(CostFeeStyle costFee)
 {
     txtAmount.Text      = costFee.PayTotalFee.ToString();
     lbFavorableSum.Text = costFee.FavorableTotalFee.ToString();
     lbPersonalSum.Text  = costFee.SelfTotalFee.ToString();
     lbAccountSum.Text   = costFee.AccountTotalFee.ToString();
 }
Beispiel #2
0
 /// <summary>
 /// 实时显示各项金额
 /// </summary>
 /// <param name="costFee">各项金额对象</param>
 private void SetLabelText(CostFeeStyle costFee)
 {
     txtAmount.Text            = string.Format("{0:N}", costFee.PayTotalFee);       // 住院总金额
     txtFavorableSum.Text      = string.Format("{0:N}", costFee.FavorableTotalFee); // 优惠金额
     txtPersonalSum.Text       = string.Format("{0:N}", costFee.SelfTotalFee);      // 自付金额
     txtAccountSum.Text        = string.Format("{0:N}", costFee.AccountTotalFee);   // 记账金额
     txtPaymentTotal.Text      = string.Format("{0:N}", costFee.zyDepositFee);      // 预交金总额
     txtTheKnotComplement.Text = string.Format("{0:N}", costFee.zyChargeFee);       // 结补
     txtBack.Text = string.Format("{0:N}", costFee.zyRefundFee);                    // 结退
 }