示例#1
0
        public elevationForm()
        {
            //set global objects
            view = ArcMap.Document.ActiveView;
            map = view.FocusMap;

            lam72 = geopuntHelper.lam72;

            gpExtension = geopunt4arcgisExtension.getGeopuntExtension();
            lineFC = gpExtension.profileLineLayer;
            pointsFC = gpExtension.profilePointsLayer;
            dhm = new dataHandler.dhm(timeout: gpExtension.timeout);

            ESRI.ArcGIS.Framework.ICommandBars commandBars = ArcMap.Application.Document.CommandBars;
            UID toolID = new UIDClass();
            toolID.Value = ThisAddIn.IDs.geopuntElevationTool;
            mouseCmd = commandBars.Find(toolID, false, false);

            InitializeComponent();
            initGui();
        }
示例#2
0
        public elevationForm()
        {
            //set global objects
            view = ArcMap.Document.ActiveView;
            map  = view.FocusMap;

            lam72 = geopuntHelper.lam72;

            gpExtension = geopunt4arcgisExtension.getGeopuntExtension();
            lineFC      = gpExtension.profileLineLayer;
            pointsFC    = gpExtension.profilePointsLayer;
            dhm         = new dataHandler.dhm(timeout: gpExtension.timeout);

            ESRI.ArcGIS.Framework.ICommandBars commandBars = ArcMap.Application.Document.CommandBars;
            UID toolID = new UIDClass();

            toolID.Value = ThisAddIn.IDs.geopuntElevationTool;
            mouseCmd     = commandBars.Find(toolID, false, false);

            InitializeComponent();
            initGui();
        }