private string GetAssemblyPath()
{
string codeBase = System.Reflection.Assembly.GetExecutingAssembly().CodeBase;
codeBase = codeBase.Substring(8, _CodeBase.Length - 8); // 8是 file:// 的长度
string[] arrSection = codeBase.Split(new char[] { '/' });
string folderPath = "";
for (int i = 0; i < arrSection.Length - 1; i++)
{
folderPath += arrSection[i] + "/";
}
return folderPath;
}