Book Image

ArcGIS By Example

By : Hussein Nasser
Book Image

ArcGIS By Example

By: Hussein Nasser

Overview of this book

Table of Contents (17 chapters)
ArcGIS By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Deleting designs


In this section, we will continue working on our design manager; only few functionalities are missing and among them are delete excavation and delete design.

Deleting an excavation

To delete an excavation from an existing design, we will need to select it from the list and click on the Delete Excavation button. Then we are required to call the LoadDesign method to reload everything:

  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 on Open.

  3. Double-click on frmDesignManager.vb to view the form designer.

  4. Double-click on the Delete Excavation button to generate the btnDeleteExcavation_Click method.

  5. The lstExcavation.SelectedItem variable will give us the...