diff --git a/VPet.Plugin.ModMaker/App.xaml b/VPet.Plugin.ModMaker/App.xaml new file mode 100644 index 0000000..ac5d3a2 --- /dev/null +++ b/VPet.Plugin.ModMaker/App.xaml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/VPet.Plugin.ModMaker/App.xaml.cs b/VPet.Plugin.ModMaker/App.xaml.cs new file mode 100644 index 0000000..8231aa8 --- /dev/null +++ b/VPet.Plugin.ModMaker/App.xaml.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace VPet.Plugin.ModMaker +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application { } +} diff --git a/VPet.Plugin.ModMaker/ModMaker.cs b/VPet.Plugin.ModMaker/ModMaker.cs index b8bd807..3ec3310 100644 --- a/VPet.Plugin.ModMaker/ModMaker.cs +++ b/VPet.Plugin.ModMaker/ModMaker.cs @@ -13,10 +13,11 @@ namespace VPet.Plugin.ModMaker { public class ModMaker : MainPlugin { - public ModMaker(IMainWindow mainwin) : base(mainwin) - { - } + public ModMaker(IMainWindow mainwin) + : base(mainwin) { } + public ILine Set; + public override void LoadPlugin() { Set = MW.Set.FindLine("ModMaker"); @@ -27,17 +28,22 @@ namespace VPet.Plugin.ModMaker Header = "Mod制作器".Translate(), HorizontalContentAlignment = HorizontalAlignment.Center, }; - menuset.Click += (s, e) => { Setting(); }; + menuset.Click += (s, e) => + { + Setting(); + }; modset.Items.Add(menuset); } + public override string PluginName => "ModMaker"; - public winModMaker Maker; + public WinModMaker Maker; public override void Setting() { if (Maker == null) { - Maker = new winModMaker(this); + Maker = new WinModMaker(); + Maker.ModMaker = this; Maker.Show(); } else diff --git a/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj b/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj index 262debb..c0a9319 100644 --- a/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj +++ b/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj @@ -5,14 +5,30 @@ Debug AnyCPU {8F804A27-A57E-4799-801C-4DE96BA153BC} - library + WinExe VPet.Plugin.ModMaker VPet.Plugin.ModMaker v4.6.2 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 + 6 true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true true @@ -31,6 +47,9 @@ prompt 4 + + VPet.Plugin.ModMaker.App + ..\packages\LinePutScript.1.9.2\lib\net462\LinePutScript.dll @@ -66,6 +85,9 @@ + + App.xaml + Code @@ -80,11 +102,11 @@ Settings.settings True - - winModInfo.xaml + + WinModInfo.xaml - - winModMaker.xaml + + WinModMaker.xaml ResXFileCodeGenerator @@ -97,14 +119,30 @@ - + + Designer + MSBuild:Compile + + Designer MSBuild:Compile - + Designer MSBuild:Compile + + + False + Microsoft .NET Framework 4.6.2 %28x86 和 x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + \ No newline at end of file diff --git a/VPet.Plugin.ModMaker/winModInfo.xaml b/VPet.Plugin.ModMaker/winModInfo.xaml index 78e0e08..71db090 100644 --- a/VPet.Plugin.ModMaker/winModInfo.xaml +++ b/VPet.Plugin.ModMaker/winModInfo.xaml @@ -1,16 +1,92 @@ - + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VPet.Plugin.ModMaker/winModInfo.xaml.cs b/VPet.Plugin.ModMaker/winModInfo.xaml.cs index 39b03de..dfa8cff 100644 --- a/VPet.Plugin.ModMaker/winModInfo.xaml.cs +++ b/VPet.Plugin.ModMaker/winModInfo.xaml.cs @@ -17,9 +17,9 @@ namespace VPet.Plugin.ModMaker /// /// winModInfo.xaml 的交互逻辑 /// - public partial class winModInfo : Window + public partial class WinModInfo : Window { - public winModInfo() + public WinModInfo() { InitializeComponent(); } diff --git a/VPet.Plugin.ModMaker/winModMaker.xaml b/VPet.Plugin.ModMaker/winModMaker.xaml index 8f7d25a..7e546a7 100644 --- a/VPet.Plugin.ModMaker/winModMaker.xaml +++ b/VPet.Plugin.ModMaker/winModMaker.xaml @@ -1,38 +1,101 @@ - - - - + + + + + + + + + + + +