private void gvOtherInProduct_CellValueChanged(object sender, DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e) { try { //计算金额 inoutHelper.CalcTotlaFee(gvOtherInProduct); //显示总金额 textEditTotalFee.EditValue = inoutHelper.CalcTaxTotalFee(gvOtherInProduct); } catch (Exception ex) { XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information); } }