chinafine

Asp.net,Windows Mobile,Windows Server 醉心于.NET
posts - 105, comments - 69, trackbacks - 6, articles - 244
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

12 2008 档案

摘要: 要在c#中获取路径有好多方法,一般常用的有以下五种: //获取应用程序的当前工作目录。 String path1 = System.IO.Directory.GetCurrentDirectory(); MessageBox.Show("获取应用程序的当前工作目录:" + path1); //获取程序的基目录。 String path2 = System.AppDomain.CurrentDo...阅读全文

posted @ 2008-12-31 16:58 chinaifne 阅读(382) | 评论 (1) 编辑 |