mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-13 19:36:34 +08:00
修改了保存方法,可以正常使用
This commit is contained in:
@@ -157,15 +157,13 @@ namespace Serein.WorkBench
|
||||
Shutdown(); // 关闭应用程序
|
||||
}
|
||||
}
|
||||
else if(1 == 11)
|
||||
{
|
||||
string filePath =
|
||||
@"D:\Project\C#\DynamicControl\DynamicControl\DynamicDemo\bin\Debug\net8.0-windows7.0\project 233.dnf";
|
||||
//@"D:\Project\C#\DynamicControl\DynamicControl\DynamicDemo\bin\Debug\net8.0-windows7.0\demo project\node 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\project.dnf";
|
||||
// string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
|
||||
// FData = JsonConvert.DeserializeObject<SereinOutputFileData>(content);
|
||||
// App.FileDataPath = System.IO.Path.GetDirectoryName(filePath);
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user