wxr
2020-09-01 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5
HDL_ON/DAL/FileUtils.cs
@@ -75,6 +75,10 @@
            foreach (FileInfo NextFile in thFolders)
            {
                index++;
                if (NextFile.Name == "headImage.png")
                {
                    continue;
                }
                if (NextFile.Name == "null" || NextFile.Name == "UserConfig" || NextFile.Name == "Register_File" || NextFile.Name == "AccountListDB")
                {
                    continue;
@@ -91,7 +95,7 @@
        /// <summary>
        /// 遍历文件
        /// </summary>
        public static List<string> ReadFiles(bool reInit = true)
        public static List<string> ReadFiles()
        {
            List<string> listFiles = new List<string>();
            DirectoryInfo TheFolder = new DirectoryInfo(RootPath);
@@ -99,14 +103,6 @@
            {
                listFiles.Add(NextFile.Name);
            }
            try
            {
                if (reInit)
                {
                    MainPage.LocationFiles = listFiles;
                }
            }
            catch { }
            return listFiles;
        }