摘要:
简单项目中可使用ini做为配置文件,操作类如下。 1 public class INIClass 2 { 3 public string inipath; 4 [System.Runtime.InteropServices.DllImport("kernel32")] 5 private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); 6 [System.Ru... 阅读全文
posted @ 2012-02-15 11:32
因是因非
阅读(360)
评论(0)
推荐(0)
摘要:
1 判断文件夹是否存在 1 /// <summary>文件夹是否存在 2 /// </summary> 3 /// <param name="dir"></param> 4 /// <returns></returns> 5 public static Boolean isFolderExist(string dir) 6 { 7 if (System.IO.Directory.Exists(dir)) 8 return true; 9 return false;10... 阅读全文
posted @ 2012-02-15 11:17
因是因非
阅读(234)
评论(0)
推荐(0)
摘要:
空间关系计算两点间距离1 /// <summary>计算两点间距离2 /// </summary>3 /// <param name="point1"></param>4 /// <param name="point2"></param>5 /// <returns></returns>6 public static double getDistanceOfTwoPoints(ESRI.ArcGIS.Geometry.IPoint point1, ESRI.A 阅读全文
posted @ 2012-02-15 10:27
因是因非
阅读(4241)
评论(1)
推荐(0)

浙公网安备 33010602011771号