摘要: Net 获取相对路径的几种方式如下:-----------------------------------------------------------------------//获得应用程序的当前路径System.Environment.CurrentDirectory //获取应用程序的当前工作目录。 System.IO.Directory.GetCurrentDirectory() AppDomain.CurrentDomain.BaseDirectory //这两个只能在WindowForm中使用; Application.StartupPath Application.Execut 阅读全文
posted @ 2012-04-10 10:17 Mr.Tom 阅读(1087) 评论(1) 推荐(0) 编辑