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.
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:
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 theC:\ArcGISByExample\yharnam\Code
, and click on Open.Add an
ArcMapBase
command button and name itcmDesignManager.vb
. Setm_category
toYharnam
,m_name
toYharnam_DesignManager
, andm_caption
,m_message
, andm_tooltip
toDesign manager
. By now you should...