From 7ff4b5644496a68a11ebefe768f9aa52688e8efc Mon Sep 17 00:00:00 2001 From: milimoe Date: Thu, 13 Feb 2025 00:14:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A7=86=E8=A7=89=E5=B0=8F?= =?UTF-8?q?=E8=AF=B4=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Desktop/App.xaml | 8 + Desktop/App.xaml.cs | 12 + Desktop/FunGame.Testing.Desktop.csproj | 5 + Desktop/Program.cs | 38 +-- .../Solutions/NovelEditor/NovelEditor.xaml | 89 +++++++ .../Solutions/NovelEditor/NovelEditor.xaml.cs | 218 ++++++++++++++++++ Desktop/Solutions/NovelEditor/NovelTest.cs | 104 +++++++++ Library/Main.cs | 2 +- Library/Solutions/Novels.cs | 214 +++++++++++++++++ 9 files changed, 670 insertions(+), 20 deletions(-) create mode 100644 Desktop/App.xaml create mode 100644 Desktop/App.xaml.cs create mode 100644 Desktop/Solutions/NovelEditor/NovelEditor.xaml create mode 100644 Desktop/Solutions/NovelEditor/NovelEditor.xaml.cs create mode 100644 Desktop/Solutions/NovelEditor/NovelTest.cs create mode 100644 Library/Solutions/Novels.cs diff --git a/Desktop/App.xaml b/Desktop/App.xaml new file mode 100644 index 0000000..5e6c830 --- /dev/null +++ b/Desktop/App.xaml @@ -0,0 +1,8 @@ + + + + + diff --git a/Desktop/App.xaml.cs b/Desktop/App.xaml.cs new file mode 100644 index 0000000..0273963 --- /dev/null +++ b/Desktop/App.xaml.cs @@ -0,0 +1,12 @@ +using Application = System.Windows.Application; + +namespace Milimoe.FunGame.Testing.Desktop +{ + public partial class App : Application + { + public App() + { + + } + } +} diff --git a/Desktop/FunGame.Testing.Desktop.csproj b/Desktop/FunGame.Testing.Desktop.csproj index 1f93424..acfa424 100644 --- a/Desktop/FunGame.Testing.Desktop.csproj +++ b/Desktop/FunGame.Testing.Desktop.csproj @@ -8,6 +8,7 @@ enable ..\bin\ Milimoe.$(MSBuildProjectName.Replace(" ", "_")) + True @@ -22,6 +23,10 @@ + + + + ..\..\FunGame.Core\bin\Debug\net9.0\FunGame.Core.dll diff --git a/Desktop/Program.cs b/Desktop/Program.cs index f971433..cd073c1 100644 --- a/Desktop/Program.cs +++ b/Desktop/Program.cs @@ -1,20 +1,20 @@ -using Milimoe.FunGame.Testing.Desktop.Solutions; +//using Milimoe.FunGame.Testing.Desktop.Solutions; -namespace Desktop -{ - internal static class Program - { - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - // To customize application configuration such as set high DPI settings or default font, - // see https://aka.ms/applicationconfiguration. - ApplicationConfiguration.Initialize(); - //Application.Run(new ChessBoardExample.ChessBoardExample()); - Application.Run(new EntityEditor()); - } - } -} \ No newline at end of file +//namespace Desktop +//{ +// internal static class Program +// { +// /// +// /// The main entry point for the application. +// /// +// [STAThread] +// static void Main() +// { +// // To customize application configuration such as set high DPI settings or default font, +// // see https://aka.ms/applicationconfiguration. +// ApplicationConfiguration.Initialize(); +// //Application.Run(new ChessBoardExample.ChessBoardExample()); +// Application.Run(new EntityEditor()); +// } +// } +//} \ No newline at end of file diff --git a/Desktop/Solutions/NovelEditor/NovelEditor.xaml b/Desktop/Solutions/NovelEditor/NovelEditor.xaml new file mode 100644 index 0000000..1a02d3c --- /dev/null +++ b/Desktop/Solutions/NovelEditor/NovelEditor.xaml @@ -0,0 +1,89 @@ + + + + + + + + + +