DirectoryInfo info = new DirectoryInfo(Application.StartupPath); String spath = info.Parent.Parent.Parent.FullName; TrhaConst.sAppPath = Application.StartupPath;
DirectoryInfo info = new DirectoryInfo(Application.StartupPath); String spath = info.Parent.Parent.Parent.FullName; TrhaConst.sAppPath = Application.StartupPath;
转载于:https://www.cnblogs.com/aijiao/p/9957417.html