From 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 01 九月 2020 15:22:09 +0800 Subject: [PATCH] 2020-09-01 --- HDL_ON/DAL/FileUtils.cs | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/HDL_ON/DAL/FileUtils.cs b/HDL_ON/DAL/FileUtils.cs index 4f114b6..c53b73f 100644 --- a/HDL_ON/DAL/FileUtils.cs +++ b/HDL_ON/DAL/FileUtils.cs @@ -95,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); @@ -103,14 +103,6 @@ { listFiles.Add(NextFile.Name); } - try - { - if (reInit) - { - MainPage.LocationFiles = listFiles; - } - } - catch { } return listFiles; } -- Gitblit v1.8.0