private void checkColorOFCheque() { ChequeReplyEntity en = _chequeReplyBL.getByCheque(_id, ""); if (en.Tables[en.FilledTableName].Rows.Count > 0) { _chequeBL.updateColor(_id, ""); } else { ApplicationPropertiesBL appPropertiesBL = new ApplicationPropertiesBL(); string color = appPropertiesBL.getValue(ApplicationPropertiesBL.CHEQUE_WITHNO_REPLY); _chequeBL.updateColor(_id, color); } }
private void updateChequeColors() { ChequeBL bl = new ChequeBL(); bl.updateColor(ColorTranslator.ToHtml(pnlCheque.BackColor)); }