• 大小: 105KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: C#
  • 标签: c#  AE  GIS  属性查询  

资源简介

基于c#的GIS设计与开发属性查询源代码

资源截图

代码片段和文件信息

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

using ESRI.ArcGIS.Controls;
using IdentifyTool;

namespace IdentifyTest
{
    public partial class Form1 : Form
    {
        private IdentifyDialog identifyDialog;

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            ShowIdentifyDialog();
        }

        private void ShowIdentifyDialog()
        {
            //新建属性查询对象
            identifyDialog = IdentifyDialog.CreateInstance(axMapControl);
            identifyDialog.Owner = this;
            identifyDialog.Show();
        }

        private void axMapControl_onmousedown(object sender IMapControlEvents2_onmousedownEvent e)
        {
            if (identifyDialog.IsDisposed)
            {
                ShowIdentifyDialog();
            }
            identifyDialog.onmousedown(e.button e.mapX e.mapY);
        }

        private void axMapControl_onmousemove(object sender IMapControlEvents2_onmousemoveEvent e)
        {
            identifyDialog.onmousemove(e.mapX e.mapY);
        }

        private void axMapControl_onmouseup(object sender IMapControlEvents2_onmouseupEvent e)
        {
            identifyDialog.onmouseup(e.mapX e.mapY);
        }
    }
}

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

     文件      34304  2009-03-01 13:55  IdentifyTest\IdentifyTest\bin\Debug\IdentifyTest.exe

     文件      73216  2009-03-01 13:55  IdentifyTest\IdentifyTest\bin\Debug\IdentifyTest.pdb

     文件      14328  2009-03-01 13:55  IdentifyTest\IdentifyTest\bin\Debug\IdentifyTest.vshost.exe

     文件        490  2007-07-21 01:33  IdentifyTest\IdentifyTest\bin\Debug\IdentifyTest.vshost.exe.manifest

     文件       1510  2009-03-01 13:43  IdentifyTest\IdentifyTest\Form1.cs

     文件       4404  2009-03-01 13:43  IdentifyTest\IdentifyTest\Form1.Designer.cs

     文件      10410  2009-03-01 13:43  IdentifyTest\IdentifyTest\Form1.resx

     文件       5444  2009-03-01 13:04  IdentifyTest\IdentifyTest\IdentifyTest.csproj

     文件      10085  2009-03-01 12:53  IdentifyTest\IdentifyTest\IdentifyTool\FlashobjectsClass.cs

     文件      37754  2009-03-01 13:55  IdentifyTest\IdentifyTest\IdentifyTool\IdentifyDialog.cs

     文件      15040  2009-03-01 12:57  IdentifyTest\IdentifyTest\IdentifyTool\IdentifyDialog.designer.cs

     文件       9205  2009-03-01 12:57  IdentifyTest\IdentifyTest\IdentifyTool\IdentifyDialog.resx

     文件        489  2009-03-01 12:55  IdentifyTest\IdentifyTest\IdentifyTool\layerFeatureType.cs

     文件       2693  2009-03-01 13:00  IdentifyTest\IdentifyTest\IdentifyTool\layerFilterProperties.cs

     文件       1599  2009-03-01 12:55  IdentifyTest\IdentifyTest\IdentifyTool\layerIdentifiedResult.cs

     文件        694  2009-03-01 13:55  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.csproj.FileListAbsolute.txt

     文件        927  2009-03-01 13:55  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.csproj.GenerateResource.Cache

     文件      34304  2009-03-01 13:55  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.exe

     文件       2821  2009-03-01 13:55  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.Form1.resources

     文件      73216  2009-03-01 13:55  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.pdb

     文件        180  2009-03-01 13:13  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTest.Properties.Resources.resources

     文件        180  2009-03-01 13:13  IdentifyTest\IdentifyTest\obj\Debug\IdentifyTool.IdentifyDialog.resources

     文件     112014  2009-03-01 13:00  IdentifyTest\IdentifyTest\obj\Debug\ResolveAssemblyReference.cache

     文件        493  2009-03-01 12:48  IdentifyTest\IdentifyTest\Program.cs

     文件       1360  2009-03-01 12:48  IdentifyTest\IdentifyTest\Properties\AssemblyInfo.cs

     文件       2874  2009-03-01 12:48  IdentifyTest\IdentifyTest\Properties\Resources.Designer.cs

     文件       5612  2009-03-01 12:48  IdentifyTest\IdentifyTest\Properties\Resources.resx

     文件       1097  2009-03-01 12:48  IdentifyTest\IdentifyTest\Properties\Settings.Designer.cs

     文件        249  2009-03-01 12:48  IdentifyTest\IdentifyTest\Properties\Settings.settings

     文件        926  2009-03-01 12:48  IdentifyTest\IdentifyTest.sln

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

评论

共有 条评论