摘要:private void button1_Click(object sender, EventArgs e) { object obj = this.GetType().GetField("button1", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic | System.Re...
阅读全文
摘要:string FileName = "d:/yl.mdb"; if (File.Exists(FileName)) { File.Delete(FileName); } IWorkspace pWorkspace = ArcGISPub.ArcGISMdb.CreateMdbWorkSpace(Fi
阅读全文
摘要:mp4box -cat f:/1.mp4 -cat f:/2.mp4 -new f:/3.mp4 http://blog.csdn.net/myarrow/article/details/39522627 2. 如何查看帮助 1) mp4box -h 查看mp4box中的所有帮助信息 2) mp4b
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
阅读全文
摘要:AddItem("esriControls.ControlsSelectFeaturesTool");//选择对象 AddItem("esriControls.ControlsSelectTool");//选择元素 //BeginGroup(); //Separator ...
阅读全文
摘要:彻底解决C#实现DataTable导出EXCEL表格
阅读全文
摘要:使用NPOI将TABLE内容导出到EXCEL
阅读全文
摘要:private string GetAssemblyPath() { string _CodeBase = System.Reflection.Assembly.GetExecutingAssembly().CodeBase; _CodeBase = _CodeBase.Substring(8, _CodeBase.Length - 8); // 8是 file:// 的长度 string[] arrSection = _CodeBase.Split(new char[] { '/' }); string _FolderPath = ""; for (int
阅读全文
摘要:ArcGIS Engine中调用GP模型示例代码,如下: //1-定义GeoProcessor对象 Geoprocessor gp = new Geoprocessor(); object sev = null; //2-设置参数 gp.OverwriteOutput = true; //3-设置工具箱所在的路径 gp.AddToolbox(@"F:\lib_test\AirportsAndGolf.tbx"); //4-设置输入参数 IVariantArray parameters = new VarArrayClass(); parameters.Add(@"
阅读全文
摘要:Dynamic biking DynamicBikingToolbarClass.cs// Copyright 2008 ESRI// // All rights reserved under the copyright laws of the United States// and applicable international laws, treaties, and conventions.// // You may freely redistribute and use this sample code, with or// without modification, provided
阅读全文
摘要:delphi 从问题到结果――EXE2SWF的开发手记
阅读全文
摘要:PrintDocument pdc = new PrintDocument(); string printerName = pdc.PrinterSettings.PrinterName; IntPtr pPrinter = IntPtr.Zero; IntPtr nullPointer = IntPtr.Zero; if (printerName != null && print...
阅读全文