-
Book Overview & Buying
-
Table Of Contents
ArcGIS By Example
By :
In this section, we will learn how to open an existing design by specifying the design ID. We will write a method called LoadDesign which will query the Design table, verify that the design exists, retrieve the date, populate the form with all the details, and filter the map to show only excavation for that particular design.
We will create the LoadDesign method that will be responsible for querying and loading all design details. Follow these steps to add the method:
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.
Go to File, then click on Open Project, browse to the Yharnam project from C:\ArcGISByExample\yharnam\Code, and click on Open.
Right-click on frmDesignManager.vb and select View Code.
Write the LoadDesign method, which accepts...
Change the font size
Change margin width
Change background colour