private void setValues() { Common.setValue(tbLandCost, bmp.LandCost); Common.setValue(tbFixedCost, bmp.FixedCost); Common.setValue(tbExpectedLife, bmp.ExpectedLife); Common.setValue(tbCostPerAcreFoot, bmp.CostPerAcreFoot); Common.setValue(tbHarvestedWater, bmp.HarvestedWater); Common.setValue(tbMaintenanceCost, bmp.MaintenanceCost); Common.setValue(tbFutureReplacementCost, bmp.FutureReplacementCost); Common.setValue(tbInterestRate, Globals.Project.InterestRate); Common.setValue(tbProjectDuration, Globals.Project.ProjectDuration); Common.setValue(tbCostOfWater, Globals.Project.CostOfWater); Common.setButtonColor(Globals.Project.hasCostScenario(bmp), btnScenario); if (Globals.Project.hasCostScenario(bmp)) { tbScenarioName.Enabled = true; tbScenarioDescription.Enabled = true; Common.setValue(tbScenarioName, getCostScenario().Name); Common.setValue(tbScenarioDescription, getCostScenario().Description); } else { tbScenarioName.Enabled = false; tbScenarioDescription.Enabled = false; } wbOutput.DocumentText = bmp.CostReport(); }