資源簡介
ARCGIS二次開發,查找最短路徑

代碼片段和文件信息
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;
namespace?最短路徑分析
{
????///?
????///?Summary?description?for?AddNetBarriesTool.
????///?
????[Guid(“de7152cb-76df-4a8c-93d9-d01b9bda0672“)]
????[ClassInterface(ClassInterfaceType.None)]
????[ProgId(“最短路徑分析.AddNetBarriesTool“)]
????public?sealed?class?AddNetBarriesTool?:?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?AddNetBarriesTool()
????????{
????????????//
????????????//?TODO:?Define?values?for?the?public?properties
????????????//
????????????base.m_category?=?“NetWorkAnalysClass“;?//localizable?text?
????????????base.m_caption?=?“添加障礙“;??//localizable?t
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\最短路徑分析\
?????文件?????????246??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetBarriesTool.bmp
?????文件????????8009??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetBarriesTool.cs
?????文件?????????326??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetBarriesTool.cur
?????文件?????????246??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetStopsTool.bmp
?????文件????????8131??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetStopsTool.cs
?????文件?????????326??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\AddNetStopsTool.cur
?????文件???????????1??2015-01-23?21:16??最短路徑分析\code\最短路徑分析\ClassDiagram1.cd
?????文件????????4745??2015-01-27?16:10??最短路徑分析\code\最短路徑分析\NetWorkAnalysClass.cs
?????文件?????????599??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Program.cs
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\最短路徑分析\Properties\
?????文件????????1368??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Properties\AssemblyInfo.cs
?????文件????????2887??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Properties\Resources.Designer.cs
?????文件????????5612??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Properties\Resources.resx
?????文件????????1104??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Properties\Settings.Designer.cs
?????文件?????????249??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\Properties\Settings.settings
?????文件?????????246??2015-01-23?21:17??最短路徑分析\code\最短路徑分析\ShortPathSolveCommand.bmp
?????文件????????9375??2015-01-27?16:10??最短路徑分析\code\最短路徑分析\ShortPathSolveCommand.cs
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\最短路徑分析\bin\
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\最短路徑分析\bin\Debug\
?????文件??????129536??2015-01-26?19:55??最短路徑分析\code\最短路徑分析\bin\Debug\最短路徑分析.exe
?????文件??????130560??2015-01-26?19:55??最短路徑分析\code\最短路徑分析\bin\Debug\最短路徑分析.pdb
?????文件???????11600??2015-01-26?19:56??最短路徑分析\code\最短路徑分析\bin\Debug\最短路徑分析.vshost.exe
?????文件?????????490??2010-03-17?22:39??最短路徑分析\code\最短路徑分析\bin\Debug\最短路徑分析.vshost.exe.manifest
?????目錄???????????0??2016-03-25?15:18??最短路徑分析\code\最短路徑分析\bin\Release\
?????文件??????128512??2016-03-25?14:51??最短路徑分析\code\最短路徑分析\bin\Release\最短路徑分析.exe
?????文件???????67072??2016-03-25?14:51??最短路徑分析\code\最短路徑分析\bin\Release\最短路徑分析.pdb
?????文件???????11600??2016-03-25?15:19??最短路徑分析\code\最短路徑分析\bin\Release\最短路徑分析.vshost.exe
?????文件?????????490??2010-03-17?22:39??最短路徑分析\code\最短路徑分析\bin\Release\最短路徑分析.vshost.exe.manifest
............此處省略638個文件信息
- 上一篇:圖片tif轉成pdf文件
- 下一篇:大學網頁設計
評論
共有 條評論