自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(7)
  • 收藏
  • 关注

转载 C# 复制内容到剪切板

Clipboard.Clear();//清空剪切板内容Clipboard.SetData(DataFormats.Text, "复制内容");//复制内容到剪切板转载于:https://www.cnblogs.com/JiNerd/p/3950685.html

2019-09-29 17:11:57 284

转载 C# GMap.Net 计算多边形面积

Cédric Bignon :Let's note Points the points of the polygon (where Points[0] == Points[Points.Count - 1] to close the polygon).The idea behind the next methods is to split the polygon into tr...

2019-09-29 17:11:55 551

转载 GMap.NET 学习(一)添加marker和polygon

GMap.NETis great and Powerful, Free, cross platform, open source .NET control. Enable userouting,geocoding,directionsandmapsfrom Coogle, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac,...

2019-09-29 17:11:54 1149

转载 C#如何获取鼠标相对当前窗口的坐标

可以用Control.MousePosition获得当前鼠标的坐标,使用PointToClient计算鼠标相对于某个控件的坐标,如下1 Point screenPoint = Control.MousePosition;//鼠标相对于屏幕左上角的坐标2 Point formPoint = this.PointToClient(Control.MousePosition);//...

2019-09-29 17:11:53 229

转载 asp.net(c#) 通过两个点的经纬度计算距离

原理:地球赤道上环绕地球一周走一圈共40075.04公里,而@一圈分成360°,而每1°(度)有60,每一度一秒在赤道上的长度计算如下:  40075.04km/360°=111.31955km  111.31955km/60=1.8553258km=1855.3m  而每一分又有60秒,每一秒就代表1855.3m/60=30.92m  任意两点距离计算公式为 ...

2019-09-29 17:11:52 321

转载 经纬度和墨卡托互相转换

1 //经纬度转墨卡托 2 public MapPoint lonLat2Mercator(MapPoint lonLat) 3 { 4 MapPoint mercator = new MapPoint(); 5 double x = lonLat.X * 20037508.34 / 1...

2019-09-29 17:11:52 218

转载 C#中怎么对double型取两位小数。

例: Double a = 2.1234567; Math.Round(a,2);转载于:https://www.cnblogs.com/JiNerd/p/3926563.html

2019-09-29 17:11:50 812

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除