C#获得应用程序当前路径 string softPath = (Directory.GetParent(this.GetType().Assembly.Location).ToString()) + "\\";