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

posted on 2013-01-11 11:20  swxj  阅读(708)  评论(0编辑  收藏  举报