摘要: 在winfrom中的mapxtreme的地图控件上画圆分为下面几步:第一步:添加圆图层对应的table并添加table对应的图层到map上,其中添加ID字段到表中,后面删除此圆需用到Table tableCircleTemp ; if (tableCircleTemp != null) { if (tableCircleTemp.IsOpen) { tableCircleTemp.Close(); } ... 阅读全文
posted @ 2013-06-27 18:53 nygfcn 阅读(411) 评论(0) 推荐(0)
摘要: 在winfrom中使用mapxtreme2008,其中实现测距工具时,在mapControl_MouseClick中取到位置点:List disPtList = new List(); private void mapControl_MouseClick(object sender, MouseEventArgs e) { try { if (mapControl.Tools.LeftButtonTool == MapToolKit.Distance) { ... 阅读全文
posted @ 2013-06-27 18:22 nygfcn 阅读(399) 评论(0) 推荐(0)
摘要: 参考: http://bbs.csdn.net/topics/90083323TcpClient没有提供设置连接间隔的方法或是属性,类完成这个功能,使用实例:TcpClient client = TcpClientConnector.Connect(host, port, 1000);using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Net.Sockets;namespace Client{ public... 阅读全文
posted @ 2013-06-27 18:16 nygfcn 阅读(644) 评论(0) 推荐(0)