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

Creating the design manager


The design manager will help us manage the excavation designs. We create this form to add new designs, edit existing designs, and open (and even delete) designs. This will be our main focus point throughout this chapter.

Adding the design manager button

First we will need to add an ArcMap button to our Excavation Manager Toolbar to show the design manager. Follow these steps to create the button:

  1. 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. Add an ArcMapBase command button and name it cmDesignManager.vb. Set m_category to Yharnam, m_name to Yharnam_DesignManager, and m_caption, m_message, and m_tooltip to Design manager. By now you should...