资源简介

拥有ArcMap图层渲染和标注功能,能够完成土地信息评价管理和出图利用ArcEngine93+vs2008编程平台

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Text;
using System.Drawing;

using ESRI.ArcGIS.ADF;
using ESRI.ArcGIS.ADF.baseClasses;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.SystemUI;
using ESRI.ArcGIS.DataSourcesFile;
using ESRI.ArcGIS.GeoDatabaseUI;
using ESRI.ArcGIS.Output;
using ESRI.ArcGIS.Controls;
using ESRI;
using System.Runtime.InteropServices;

namespace Yingyan
{
    [ClassInterface(ClassInterfaceType.None)]
    [Guid(“D880184E-AC81-47E5-B363-781F4DC4528F“)]
    class AddDateTool :baseTool
    {
        //#region 注释的内容
        //private AxMapControl axMapControl1;
        //private Form1 form1;
        //private AxTOCControl axTOCControl1;
        //private EventHandler form1_Load = null;
        //private ITOCControl2 pTocControl;

        //private IMapControl3 pMapControl;

        //private IToolbarMenu pToolMenuMap;

        //private IToolbarMenu pToolMenulayer;    // 在“ESRI Controls Commands”组件目录注册
      
        //#region Component Category Registration

        //[ComRegisterFunction()]
        //[ComVisible(false)]

        //static void RegisterFunction(String sKey)
        //{
        //    string fullKey = sKey.Remove(0 18) + @“\nImplemented Categories“;
        //    Microsoft.Win32.RegistryKey regKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(fullKey true);

        //    if (regKey != null)
        //    {
        //        regKey.CreateSubKey(“{B284D891-22EE-4F12-A0A9-B1DDED9197F4}“);
        //    }
        //}

        //[ComUnregisterFunction()]
        //[ComVisible(false)]

        //static void UnregisterFunction(String sKey)
        //{
        //    string fullKey = sKey.Remove(0 18) + @“\Implemented Categories“;
        //    Microsoft.Win32.RegistryKey regKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(fullKey true);

        //    if (regKey != null)
        //    {
        //        regKey.DeleteSubKey(“{B284D891-22EE-4F12-A0A9-B1DDED9197F4}“);
        //    }
        //}

        //#endregion


        //public AddDateTool(Form1 form1 AxMapControl axMapControl1 AxTOCControl axTOCControl1)
        //{
        //    this.form1 = form1;
        //    this.axMapControl1 = axMapControl1;
        //    this.axTOCControl1 = axTOCControl1;
        //    pTocControl = (ITOCControl2)axTOCControl1.object;
        //    pMapControl = (IMapControl3)axMapControl1.object;
        //}

        ////重写baseCommand基类的虚拟方法onclick() 
        //public override void OnCreate(object hook)
        //{
        //    pMapControl = (IMapControl3)hook;
        //}
        ////重写baseCommand基类的虚拟方法onclick() 

        //public override void onclick()
        //{

        //    ilayer player = (ilayer)pMapControl.CustomProperty;

        //    pMapControl.Extent = player.AreaOfInter

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

     文件       5563  2012-03-15 17:20  Yingyan\Yingyan\AddDateTool.cs

     文件       4887  2012-04-01 23:43  Yingyan\Yingyan\AddFieldData.cs

     文件       7137  2012-04-01 23:29  Yingyan\Yingyan\AddFieldData.Designer.cs

     文件       5814  2012-04-01 23:29  Yingyan\Yingyan\AddFieldData.resx

     文件         77  2012-03-15 17:12  Yingyan\Yingyan\app.config

     文件      35278  2012-04-08 10:00  Yingyan\Yingyan\Attibutes\Attributes.cs

     文件      25226  2012-04-07 10:27  Yingyan\Yingyan\Attibutes\Attributes.Designer.cs

     文件      12171  2012-04-07 10:27  Yingyan\Yingyan\Attibutes\Attributes.resx

     文件       1086  2011-02-23 07:38  Yingyan\Yingyan\Attibutes\PFActionIcon.ico

     文件      25335  2012-04-07 15:04  Yingyan\Yingyan\Attibutes\SymbolstyleSheets.cs

     文件      26517  2012-04-07 14:58  Yingyan\Yingyan\Attibutes\SymbolstyleSheets.Designer.cs

     文件      13743  2012-04-07 14:58  Yingyan\Yingyan\Attibutes\SymbolstyleSheets.resx

     文件       6565  2012-04-06 09:42  Yingyan\Yingyan\Attibutes\TextAttributes.cs

     文件       9525  2012-04-06 09:05  Yingyan\Yingyan\Attibutes\TextAttributes.Designer.cs

     文件       6212  2012-04-06 09:05  Yingyan\Yingyan\Attibutes\TextAttributes.resx

     文件      28672  2012-03-22 22:10  Yingyan\Yingyan\bin\Debug\Interop.ArcGISFileHelperLib.dll

     文件       1086  2011-02-23 07:38  Yingyan\Yingyan\bin\Debug\PFActionIcon.ico

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\0.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\011.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\012.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\013.BMP

     文件       1318  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\021.BMP

     文件       1318  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\022.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\023.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\024.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\ELLIPSE.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\FREEFORM.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\GROUP.BMP

     文件       1318  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\HELP.BMP

     文件        246  1998-04-24 00:00  Yingyan\Yingyan\bin\Debug\Resources\icon\HELP2.BMP

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

评论

共有 条评论