資源簡介
畢業設計,c#VS2008+Ae開發主要實現點選和輸入的最短路徑查詢和路徑的軌跡閃爍顯示

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?ESRI.ArcGIS.esriSystem;
//FILE?AUTOMATICALLY?GENERATED?BY?ESRI?LICENSE?INITIALIZATION?ADDIN
//YOU?SHOULD?NOT?NORMALLY?EDIT?OR?REMOVE?THIS?FILE?FROM?THE?PROJECT
namespace?青山區路徑查詢
{
????internal?sealed?class?LicenseInitializer
????{
????????private?IAoInitialize?m_AoInit?=?new?AoInitializeClass();
????????#region?Private?members
????????private?const?string?MessageNoLicensesRequested?=?“Product:?No?licenses?were?requested“;
????????private?const?string?MessageProductAvailable?=?“Product:?{0}:?Available“;
????????private?const?string?MessageProductNotLicensed?=?“Product:?{0}:?Not?Licensed“;
????????private?const?string?MessageExtensionAvailable?=?“?Extension:?{0}:?Available“;
????????private?const?string?MessageExtensionNotLicensed?=?“?Extension:?{0}:?Not?Licensed“;
????????private?const?string?MessageExtensionFailed?=?“?Extension:?{0}:?Failed“;
????????private?const?string?MessageExtensionUnavailable?=?“?Extension:?{0}:?Unavailable“;
????????private?bool?m_hasShutDown?=?false;
????????private?bool?m_hasInitializeProduct?=?false;
????????private?List?m_requestedProducts;
????????private?List?m_requestedExtensions;
????????private?Dictionary?m_productStatus?=?new?Dictionary();
????????private?Dictionary?m_extensionStatus?=?new?Dictionary();
????????private?bool?m_productCheckOrdering?=?true;?//default?from?low?to?high
????????#endregion
????????public?bool?InitializeApplication(esriLicenseProductCode[]?productCodes?esriLicenseExtensionCode[]?extensionLics)
????????{
????????????//Cache?product?codes?by?enum?int?so?can?be?sorted?without?custom?sorter
????????????m_requestedProducts?=?new?List();
????????????foreach?(esriLicenseProductCode?code?in?productCodes)
????????????{
????????????????int?requestCodeNum?=?Convert.ToInt32(code);
????????????????if?(!m_requestedProducts.Contains(requestCodeNum))
????????????????{
????????????????????m_requestedProducts.Add(requestCodeNum);
????????????????}
????????????}
????????????AddExtensions(extensionLics);
????????????return?Initialize();
????????}
????????///?
????????///?A?summary?of?the?status?of?product?and?extensions?initialization.
????????///?
????????public?string?LicenseMessage()
????????{
????????????string?prodStatus?=?string.Empty;
????????????if?(m_productStatus?==?null?||?m_productStatus.Count?==?0)
????????????{
????????????????prodStatus?=?MessageNoLicensesRequested?+?Environment.NewLine;
????????????}
????????????else?if?(m_productStatus.ContainsValue(esriLicenseStatus.esriLicenseAlreadyInitialized)
????????????????||?m_productStatus.ContainsValue(esriLicenseStatus.esriLicenseCheckedOut))
????????????{
????????????????pro
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-11?10:27??青山區路徑查詢\
?????目錄???????????0??2013-05-11?12:20??青山區路徑查詢\示例圖片\
?????文件??????153446??2013-05-11?12:18??青山區路徑查詢\示例圖片\1.jpg
?????文件???????23495??2013-05-11?10:35??青山區路徑查詢\示例圖片\2.jpg
?????文件???????33161??2013-05-11?10:36??青山區路徑查詢\示例圖片\3.jpg
?????文件???????57152??2013-05-11?10:36??青山區路徑查詢\示例圖片\4.jpg
?????文件???????13152??2013-05-11?12:20??青山區路徑查詢\示例圖片\5.jpg
?????目錄???????????0??2013-05-12?12:19??青山區路徑查詢\青山區路徑查詢\
?????文件?????????417??2013-03-27?10:02??青山區路徑查詢\青山區路徑查詢\ClassDiagram1.cd
?????文件?????????428??2013-03-28?15:28??青山區路徑查詢\青山區路徑查詢\ClassDiagram2.cd
?????文件???????13361??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\LicenseInitializer.cs
?????文件???????47295??2013-05-12?12:17??青山區路徑查詢\青山區路徑查詢\MainForm.Designer.cs
?????文件???????38208??2013-05-12?12:19??青山區路徑查詢\青山區路徑查詢\MainForm.cs
?????文件???????91567??2013-05-12?12:15??青山區路徑查詢\青山區路徑查詢\MainForm.resx
?????文件????????3142??2013-03-27?10:06??青山區路徑查詢\青山區路徑查詢\Maps.cs
?????文件????????1730??2013-03-21?16:28??青山區路徑查詢\青山區路徑查詢\Program.cs
?????目錄???????????0??2013-05-07?20:02??青山區路徑查詢\青山區路徑查詢\Properties\
?????文件????????1290??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\Properties\AssemblyInfo.cs
?????文件????????2869??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\Properties\Resources.Designer.cs
?????文件????????5612??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\Properties\Resources.resx
?????文件????????1102??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\Properties\Settings.Designer.cs
?????文件?????????249??2013-03-21?16:26??青山區路徑查詢\青山區路徑查詢\Properties\Settings.settings
?????目錄???????????0??2013-05-09?20:35??青山區路徑查詢\青山區路徑查詢\bin\
?????目錄???????????0??2013-05-09?21:28??青山區路徑查詢\青山區路徑查詢\bin\Debug\
?????文件??????292864??2013-05-12?12:19??青山區路徑查詢\青山區路徑查詢\bin\Debug\青山區路徑查詢.exe
?????文件??????132608??2013-05-12?12:19??青山區路徑查詢\青山區路徑查詢\bin\Debug\青山區路徑查詢.pdb
?????文件???????14328??2013-05-12?12:21??青山區路徑查詢\青山區路徑查詢\bin\Debug\青山區路徑查詢.vshost.exe
?????文件?????????490??2009-06-11?05:14??青山區路徑查詢\青山區路徑查詢\bin\Debug\青山區路徑查詢.vshost.exe.manifest
?????文件????????5398??2013-05-10?20:12??青山區路徑查詢\青山區路徑查詢\loader.Designer.cs
?????文件?????????869??2013-05-10?20:12??青山區路徑查詢\青山區路徑查詢\loader.cs
?????文件???????31552??2013-05-10?20:12??青山區路徑查詢\青山區路徑查詢\loader.resx
............此處省略39個文件信息
- 上一篇:Asp.net多線程
- 下一篇:C# 掃雷游戲源碼 很適合新手
評論
共有 條評論