- 博客(8)
- 资源 (4)
- 收藏
- 关注
原创 获得两个字符串的交集字符串
<br /> string a = "abcdefg"; string b = "defghlik"; var c = a.ToCharArray().Intersect(b.ToCharArray()); string res = new string(c.ToArray<char>()); Console.WriteLine(res);
2010-08-21 17:34:00
1320
转载 用C#和本地Windows API操纵系统菜单
一、前言 .NET框架是Windows应用领域中一个非常新的技术,可以肯定在未来的一段时间内,.NET应用必须与现存的Windows技术交互作用。这种交互作用主要体现在两个领域:COM和应用编程接口(API)。为此,.NET框架在Windows API之上提供了一个OO层,但是有时候可能需要使用一个.NET不可到达的API调用。在这种情况下,可以使用.NET平台调用(P/Invoke)机制从.N
2008-05-19 19:26:00
772
转载 一个地图坐标转换成屏幕坐标
要把地图坐标转换成屏幕坐标,用这个方法://mapPoint 这是经纬度坐标的点System.Drawing.PointF screenPoint=new System.Drawing.PointF()MapControl1.Map.DisplayTransform.ToDisplay(mapPoint,out screenPoint);第一次打开页面的时候转换的结果是对的。可是当对地图
2007-03-21 15:45:00
3791
1
转载 MapXtreme 2005 地图标注全攻略
--MapXtreme 2005 地图标注全攻略MapInfo.Data.Table activeMapTable = MapInfo.Engine.Session.Current.Catalog.GetTable(tablename);MapInfo.Mapping.LabelLayer lbLayer = new MapInfo.Mapping.LabelLayer(activeMapLabe
2007-03-02 11:45:00
1826
2
转载 How to combine the features in the DefaultSelection
C# Code://This is the table with the features that will be combinedMapInfo.Mapping.FeatureLayer fl = this.MapControl1.Map.Layers["USA"] as MapInfo.Mapping.FeatureLayer;//This created a temp table that
2007-02-25 12:01:00
969
转载 MapXtreme2004代码 搜索特定图元并将其显示到地图上
private void showMap() { MIDataReader tr; MIConnection con=new MIConnection(); MICommand tc=con.CreateCommand(); tc.CommandText="select 村 from 农安 where PH__2002 > 8.5";
2007-02-24 13:45:00
947
转载 个人整理的MapXtreme2004应用问答
个人整理的MapXtreme2004应用问答 1、问:如何在桌面程序中更改地图的坐标系?2、问:在C#应用中如何读取存在ORACLE(或SQL Server)中的MapInfo表?3、问:在C#桌面与Web应用中读取硬盘上MapInfo表一法4、问:如何在MapXtreme2004桌面应用程
2007-02-23 20:53:00
930
转载 MapxTreme收藏
mapxtreme2004web自定义面积测量工具示例下载(推荐) http://www.gisdn.com/ShowPost.asp?id=1937 mapxtreme2004web鹰眼示例下载(推荐) http://www.gisdn.com/ShowPost.asp?id=1936 mapxtreme2004桌面鹰眼和自定义距离工具示例下载(推荐) http:
2007-02-23 18:18:00
1010
基于ArcIMS的地图切图原理
2008-12-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人