91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 98KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-07
  • 語言: C#
  • 標簽: arcengine??

資源簡介

vs2010c#開發arcengine實現按屬性查詢和按位置(空間)查詢(類似于arcmap的按位置選擇和按屬性選擇)

資源截圖

代碼片段和文件信息

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.Carto;
using?ESRI.ArcGIS.Controls;
using?ESRI.ArcGIS.Display;
using?ESRI.ArcGIS.esriSystem;
using?ESRI.ArcGIS.Geometry;
using?ESRI.ArcGIS.Output;
using?ESRI.ArcGIS.SpatialAnalyst;

namespace?zyp1
{
????public?partial?class?Form1?:?Form
????{
????????public?IMapControl2?pMapControl;
????????public?IToolbarControl2?pToolBarControl;
????????public?ITOCControl2?pTocControl;


????????public?bool?toolSelected?=?false;
????????public?Form1()
????????{
????????????InitializeComponent();
????????????

????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????pMapControl?=?(IMapControl2)axMapControl1.object;
????????????pTocControl?=?(ITOCControl2)axTOCControl1.object;
????????????pToolBarControl?=?(IToolbarControl2)axToolbarControl1.object;


????????????pToolBarControl.SetBuddyControl(pMapControl);
????????????pTocControl.SetBuddyControl(pMapControl);
????????}
???????


????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????loadMapDocument();
????????}
????????private?void?loadMapDocument()
????????{
????????????System.Windows.Forms.OpenFileDialog?openFileDialog;
????????????openFileDialog?=?new?OpenFileDialog();
????????????openFileDialog.title?=?“打開地圖文檔“;
????????????openFileDialog.Filter?=?“map?documents(*.mxd)|*.mxd“;
????????????openFileDialog.ShowDialog();
????????????string?filePath?=?openFileDialog.FileName;
????????????if?(axMapControl1.CheckMxFile(filePath))
????????????{
????????????????axMapControl1.MousePointer?=?esriControlsMousePointer.esriPointerHourglass;
????????????????axMapControl1.LoadMxFile(filePath?0?Type.Missing);
????????????????axMapControl1.MousePointer?=?esriControlsMousePointer.esriPointerDefault;

????????????}
????????????else
????????????{
????????????????MessageBox.Show(filePath?+?“不是有效的地圖文檔“);
????????????}


????????}

????????

????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????FrmQuery?fQuery?=?new?FrmQuery(pMapControl);
????????????fQuery.Show();
????????}

????????private?void?button3_Click(object?sender?EventArgs?e)
????????{

????????????frmLocationQuery?fLQuery?=?new?frmLocationQuery(pMapControl);
????????????fLQuery.Show();
????????}

????????private?void?button4_Click(object?sender?EventArgs?e)
????????{
????????????pMapControl.MousePointer?=?esriControlsMousePointer.esriPointerDefault;

????????????pMapControl.Map.ClearSelection();

????????????pMapControl.Refresh();
????????}

????????private?void?axTOCControl1_onmousedown(object?sender?ITOCControlEvents_onmousedownEvent?e)
????????{

????????}

???????





????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????32256??2014-07-04?17:23??zyp1\zyp1\bin\Debug\zyp1.exe

?????文件??????50688??2014-07-04?17:23??zyp1\zyp1\bin\Debug\zyp1.pdb

?????文件??????11600??2014-07-04?08:50??zyp1\zyp1\bin\Debug\zyp1.vshost.exe

?????文件????????490??2010-03-17?22:39??zyp1\zyp1\bin\Debug\zyp1.vshost.exe.manifest

?????文件???????2947??2014-07-04?16:55??zyp1\zyp1\Form1.cs

?????文件???????7773??2014-07-04?16:55??zyp1\zyp1\Form1.Designer.cs

?????文件??????11511??2014-07-04?16:55??zyp1\zyp1\Form1.resx

?????文件???????6247??2014-07-04?17:46??zyp1\zyp1\Form2.cs

?????文件???????9085??2014-07-04?17:23??zyp1\zyp1\Form2.Designer.cs

?????文件???????5817??2014-07-04?17:23??zyp1\zyp1\Form2.resx

?????文件??????12396??2014-07-04?17:23??zyp1\zyp1\Form3.cs

?????文件???????5597??2014-07-04?17:23??zyp1\zyp1\Form3.Designer.cs

?????文件???????5817??2014-07-04?17:23??zyp1\zyp1\Form3.resx

?????文件????????262??2014-07-04?16:24??zyp1\zyp1\frmPromptQuerying.cs

?????文件?????120389??2014-07-04?08:05??zyp1\zyp1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7273??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件????????264??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\GenerateResource.read.1.tlog

?????文件???????1650??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\GenerateResource.write.1.tlog

?????文件??????77496??2014-07-04?08:19??zyp1\zyp1\obj\x86\Debug\ResolveAssemblyReference.cache

?????文件????????572??2014-07-04?15:44??zyp1\zyp1\obj\x86\Debug\zyp1.csproj.FileListAbsolute.txt

?????文件??????32256??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\zyp1.exe

?????文件???????3965??2014-07-04?16:55??zyp1\zyp1\obj\x86\Debug\zyp1.Form1.resources

?????文件????????180??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\zyp1.frmLocationQuery.resources

?????文件????????180??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\zyp1.FrmQuery.resources

?????文件??????50688??2014-07-04?17:23??zyp1\zyp1\obj\x86\Debug\zyp1.pdb

?????文件????????180??2014-07-04?16:24??zyp1\zyp1\obj\x86\Debug\zyp1.Properties.Resources.resources

?????文件????????155??2014-07-04?08:24??zyp1\zyp1\pFMapControl.cs

?????文件????????579??2014-07-04?11:14??zyp1\zyp1\Program.cs

?????文件???????1358??2014-07-03?14:25??zyp1\zyp1\Properties\AssemblyInfo.cs

?????文件???????2859??2014-07-03?14:25??zyp1\zyp1\Properties\Resources.Designer.cs

............此處省略19個文件信息

評論

共有 條評論