private void ShowAPMCheckOutRecordOnRow(DataGridViewRow row, APMCheckOutRecord info) { row.Tag = info; row.Cells["colMID"].Value = info.MID; row.Cells["colCheckOutDateTime"].Value = info.CheckOutDateTime; row.Cells["colAmount"].Value = info.Amount; row.Cells["colActualAmount"].Value = info.ActualAmount; row.Cells["colDifference"].Value = info.Difference; row.Cells["colTheBalance"].Value = info.TheBalance; row.Cells["colTotalAmount"].Value = info.TotalAmount; row.Cells["colLastDateTime"].Value = info.LastDateTime; row.Cells["colLastBalance"].Value = info.LastBalance; row.Cells["colPayMoney"].Value = info.PayMoney; row.Cells["colIncomeMoneny"].Value = info.IncomeMoneny; row.Cells["colBalance"].Value = info.Balance; row.Cells["colHundred"].Value = info.Hundred; row.Cells["colFifty"].Value = info.Fifty; row.Cells["colTwenty"].Value = info.Twenty; row.Cells["colTen"].Value = info.Ten; row.Cells["colCash"].Value = info.Cash; row.Cells["colCashAmount"].Value = info.CashAmount; row.Cells["colCoin"].Value = info.Coin; row.Cells["colAPMOperator"].Value = info.APMOperator; row.Cells["colMemo"].Value = info.Memo; if (info.Difference != 0) { row.DefaultCellStyle.ForeColor = Color.Red; } }
public CommandResult Delete(APMCheckOutRecord info) { return(_Provider.Delete(info)); }
public CommandResult Insert(APMCheckOutRecord info) { return(_Provider.Insert(info)); }