首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年1月15日

摘要: 当前使用的是: AppDomain.CurrentDomain.BaseDirectory Assembly myAssembly = Assembly.GetEntryAssembly(); string path = myAssembly.Location; DirectoryInfo dr = new DirectoryInfo(path); path=dr.Parent; //当前目录的... 阅读全文

posted @ 2010-01-15 09:41 金龙鱼 阅读(1097) 评论(0) 推荐(0)