public static string GetCurrentPath()
{
System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
string path = asm.Location.Remove(asm.Location.LastIndexOf("\\")) + "\\";
return path;
}