• 大小: 1022KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-23
  • 语言: 其他
  • 标签: AE  

资源简介

实现了空间分析的功能

资源截图

代码片段和文件信息

using System;
using System.Drawing;
using System.Runtime.InteropServices;
using ESRI.ArcGIS.ADF.baseClasses;
using ESRI.ArcGIS.ADF.CATIDs;
using ESRI.ArcGIS.Controls;
using System.Windows.Forms;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.esriSystem;

namespace GIS设计与开发实习
{
    /// 
    /// Summary description for AddNetBarriersTool.
    /// 

    [Guid(“7c71f408-2018-47d4-8ee8-6389af01614f“)]
    [ClassInterface(ClassInterfaceType.None)]
    [ProgId(“GIS设计与开发实习.AddNetBarriersTool“)]
    public sealed class AddNetBarriersTool : baseTool
    {
        #region COM Registration Function(s)
        [ComRegisterFunction()]
        [ComVisible(false)]
        static void RegisterFunction(Type registerType)
        {
            // Required for ArcGIS Component Category Registrar support
            ArcGISCategoryRegistration(registerType);

            //
            // TODO: Add any COM registration code here
            //
        }

        [ComUnregisterFunction()]
        [ComVisible(false)]
        static void UnregisterFunction(Type registerType)
        {
            // Required for ArcGIS Component Category Registrar support
            ArcGISCategoryUnregistration(registerType);

            //
            // TODO: Add any COM unregistration code here
            //
        }

        #region ArcGIS Component Category Registrar generated code
        /// 
        /// Required method for ArcGIS Component Category registration -
        /// Do not modify the contents of this method with the code editor.
        /// 

        private static void ArcGISCategoryRegistration(Type registerType)
        {
            string regKey = string.Format(“HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}“ registerType.GUID);
            MxCommands.Register(regKey);
            ControlsCommands.Register(regKey);
        }
        /// 
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// 

        private static void ArcGISCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format(“HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}“ registerType.GUID);
            MxCommands.Unregister(regKey);
            ControlsCommands.Unregister(regKey);
        }

        #endregion
        #endregion

        private IHookHelper m_hookHelper = null;

        private IFeatureWorkspace pFWorkspace;
        private IFeatureClass barriesFClass;
        string path = System.AppDomain.CurrentDomain.SetupInformation.Applicationbase;

        public AddNetBarriersTool()
        {
            //
            // TODO: Define values for the public properties
            //
            base.m_category = “NetWorkAnalysClass“; //localizable text 
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       8439  2016-12-10 10:33  第13组-Program\program\code\Backup2\WindowsApplication1\AddNetBarriersTool.cs

     文件        326  2016-12-10 09:48  第13组-Program\program\code\Backup2\WindowsApplication1\AddNetBarriesTool.cur

     文件       8708  2016-12-10 10:31  第13组-Program\program\code\Backup2\WindowsApplication1\AddNetStopsTool.cs

     文件        326  2016-12-10 09:49  第13组-Program\program\code\Backup2\WindowsApplication1\AddNetStopsTool.cur

     文件       4814  2010-09-15 10:08  第13组-Program\program\code\Backup2\WindowsApplication1\Allocation.cs

     文件       9055  2010-09-15 10:08  第13组-Program\program\code\Backup2\WindowsApplication1\Allocation.Designer.cs

     文件       6017  2010-09-15 10:08  第13组-Program\program\code\Backup2\WindowsApplication1\Allocation.resx

     文件       1914  2010-09-14 21:11  第13组-Program\program\code\Backup2\WindowsApplication1\Aspect.cs

     文件       7050  2010-09-14 21:11  第13组-Program\program\code\Backup2\WindowsApplication1\Aspect.Designer.cs

     文件       6017  2010-09-14 21:11  第13组-Program\program\code\Backup2\WindowsApplication1\Aspect.resx

     文件       2437  2010-09-14 22:00  第13组-Program\program\code\Backup2\WindowsApplication1\Contour.cs

     文件       8453  2010-09-14 22:00  第13组-Program\program\code\Backup2\WindowsApplication1\Contour.Designer.cs

     文件       5814  2010-09-14 22:00  第13组-Program\program\code\Backup2\WindowsApplication1\Contour.resx

     文件       4826  2010-09-15 10:04  第13组-Program\program\code\Backup2\WindowsApplication1\Cost_Weighted.cs

     文件       8089  2010-09-15 10:04  第13组-Program\program\code\Backup2\WindowsApplication1\Cost_Weighted.Designer.cs

     文件       6017  2010-09-15 10:04  第13组-Program\program\code\Backup2\WindowsApplication1\Cost_Weighted.resx

     文件       2064  2010-09-14 21:13  第13组-Program\program\code\Backup2\WindowsApplication1\Cut_Fill.cs

     文件       7387  2010-09-14 21:13  第13组-Program\program\code\Backup2\WindowsApplication1\Cut_Fill.Designer.cs

     文件       5814  2010-09-14 21:13  第13组-Program\program\code\Backup2\WindowsApplication1\Cut_Fill.resx

     文件       2593  2010-06-11 14:08  第13组-Program\program\code\Backup2\WindowsApplication1\DataView.cs

     文件       2366  2010-06-11 14:08  第13组-Program\program\code\Backup2\WindowsApplication1\DataView.Designer.cs

     文件       5814  2010-06-11 14:08  第13组-Program\program\code\Backup2\WindowsApplication1\DataView.resx

     文件       6202  2010-09-15 10:08  第13组-Program\program\code\Backup2\WindowsApplication1\Feature To Raster.cs

     文件       8822  2010-09-15 09:29  第13组-Program\program\code\Backup2\WindowsApplication1\Feature To Raster.designer.cs

     文件       7437  2010-09-15 09:29  第13组-Program\program\code\Backup2\WindowsApplication1\Feature To Raster.resx

     文件      17397  2010-09-14 15:48  第13组-Program\program\code\Backup2\WindowsApplication1\IDW.cs

     文件       8321  2010-09-14 15:48  第13组-Program\program\code\Backup2\WindowsApplication1\IDW.designer.cs

     文件       7432  2010-09-14 15:48  第13组-Program\program\code\Backup2\WindowsApplication1\IDW.resx

     文件       5266  2010-09-14 11:29  第13组-Program\program\code\Backup2\WindowsApplication1\Kernel Density.cs

     文件       9361  2010-09-14 09:59  第13组-Program\program\code\Backup2\WindowsApplication1\Kernel Density.designer.cs

............此处省略292个文件信息

评论

共有 条评论