private RateScheduleBO getRateSchedule(string rateScheduleID) { RateScheduleDAL rateSchedDAL = new RateScheduleDAL(); RateScheduleBO rateSchedule = rateSchedDAL.getRateSchedule(rateScheduleID); State["RateSchedule"] = rateSchedule; return rateSchedule; }
private void rateIncBtn_Click(object sender, System.EventArgs e) { BaseDALObject data = new BaseDALObject(); RateScheduleDAL rateScheduleData = new RateScheduleDAL(); RateScheduleBO rateSchedule = rateScheduleData.getRateSchedule(ref rmsController.CodesMngr, rmsController.RateScheduleID); if (adjustPOCsBx.Checked) { rateSchedule.Rates.increaseRatesByPercent(Convert.ToDouble(rateIncBx.Text), adjustPOCsBx.Checked, Convert.ToDouble(chgIncBx.Text)); } else { rateSchedule.Rates.increaseRatesByPercent(Convert.ToDouble(rateIncBx.Text), adjustPOCsBx.Checked, 0); } rateScheduleData.updateRateSchedule(rateSchedule); rmsController.reloadRateSchedule(); }
private void loadRateSchedule() { this.rateSchedulePanel.Controls.Clear(); rateScheduleControlList = new ArrayList(); RateScheduleDAL rateScheduleData = new RateScheduleDAL(); rateSchedule = rateScheduleData.getRateSchedule(ref rmsController.CodesMngr, rmsController.RateScheduleID); titleLbl.Text = rateSchedule.RateScheduleName; loadCoverage(); loadRate(); loadControls(); }