O'Reilly logo

ArcGIS By Example by Hussein Nasser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Estimating the final cost

We have completed our calculation model, and we just need to add some finishing touches. First we will add a new method to ExcavationCostcalculator called TotalCost, which will simply return the sum of cost of removing the trees plus the cost of removing the soil. We will also add the cost breakdown in a small message box. Follow these steps:

  1. If necessary, open Visual Studio Express in administrator mode; we need to do this since our project is actually writing to the registry this time, so it needs administrator permissions. To do that, right-click on Visual Studio and click on Run as administrator.
  2. Go to File, then click on Open Project, browse to the Yharnam project from the C:\ArcGISByExample\yharnam\Code, and click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required