From 276e3b65e9668622d2181e0e2461a3b8b8664dba Mon Sep 17 00:00:00 2001 From: fengjiayi <12821976+ning_xi@user.noreply.gitee.com> Date: Mon, 5 Aug 2024 23:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=83=E4=B9=A0=E4=B8=80=E4=B8=8Bgit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WorkBench/App.xaml.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/WorkBench/App.xaml.cs b/WorkBench/App.xaml.cs index b4f8aaf..9294f6c 100644 --- a/WorkBench/App.xaml.cs +++ b/WorkBench/App.xaml.cs @@ -157,13 +157,13 @@ namespace Serein.WorkBench Shutdown(); // 关闭应用程序 } } - else if (1 == 1) - { - string filePath = @"F:\临时\project\project.dnf"; - string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容 - FData = JsonConvert.DeserializeObject(content); - App.FileDataPath = System.IO.Path.GetDirectoryName(filePath); - } + //else if (1 == 1) + //{ + // string filePath = @"F:\临时\project\wat project.dnf"; + // string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容 + // FData = JsonConvert.DeserializeObject(content); + // App.FileDataPath = System.IO.Path.GetDirectoryName(filePath); + //} } }