在DLL中获得主控程序的路径
在c#中,如何获得主控程序的启动路径.
[解决办法]
Application.StartupPath ??
是这个意思吗?
[解决办法]
引用Winform.dll
[解决办法]
Process p = Process.GetCurrentProcess();
string path = p.StartInfo.WorkingDirectory
发布时间: 2012-03-02 14:40:28 作者: rapoo
在DLL中获得主控程序的路径
在c#中,如何获得主控程序的启动路径.
[解决办法]
Application.StartupPath ??
是这个意思吗?
[解决办法]
引用Winform.dll
[解决办法]
Process p = Process.GetCurrentProcess();
string path = p.StartInfo.WorkingDirectory