vs.net编程技巧

1.获取程序的运行目录的方法:
using System.Reflection;
using System.IO;
Assembly asm=Assembly.GetExecutingAssembly();
string AppPath=Path.GetDirectoryName(asm.Location);
posted @ 2006-03-15 12:02  Donal  阅读(203)  评论(0编辑  收藏  举报