12 2008 档案

摘要:要在c#中获取路径有好多方法,一般常用的有以下五种: //获取应用程序的当前工作目录。 String path1 = System.IO.Directory.GetCurrentDirectory(); MessageBox.Show("获取应用程序的当前工作目录:" + path1); //获取程序的基目录。 String path2 = System.AppDomain.CurrentDo... 阅读全文
posted @ 2008-12-31 16:58 chinaifne 阅读(673) 评论(1) 推荐(0) 编辑