优化了显示

This commit is contained in:
fengjiayi
2024-08-08 21:39:42 +08:00
parent 81206ffbd5
commit 0ddbcc7ef6
11 changed files with 101 additions and 28 deletions

View File

@@ -34,7 +34,6 @@ namespace Serein.WorkBench
{
#if false //测试 操作表达式,条件表达式
#region
string expression = "";
@@ -151,13 +150,14 @@ namespace Serein.WorkBench
Shutdown(); // 关闭应用程序
}
}
//else if (1 == 1)
//{
// string filePath = @"F:\临时\project\wat project.dnf";
// string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
// FData = JsonConvert.DeserializeObject<SereinOutputFileData>(content);
// App.FileDataPath = System.IO.Path.GetDirectoryName(filePath);
//}
else if (1 == 1)
{
string filePath = @"F:\临时\project\U9 project.dnf";
//string filePath = @"D:\Project\C#\DynamicControl\SereinFlow\.Output\Debug\net8.0-windows7.0\U9 project.dnf";
string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
FData = JsonConvert.DeserializeObject<SereinOutputFileData>(content);
App.FileDataPath = System.IO.Path.GetDirectoryName(filePath);
}
}
}