From 229b5742d028064865fd5bc5aef77f884b5c5df3 Mon Sep 17 00:00:00 2001 From: qtkite Date: Fri, 23 Jul 2021 15:35:09 +1000 Subject: [PATCH] wpf files --- src/control-gui/App.xaml | 9 +++++++++ src/control-gui/App.xaml.cs | 17 +++++++++++++++++ src/control-gui/AssemblyInfo.cs | 10 ++++++++++ src/control-gui/MainWindow.xaml | 12 ++++++++++++ src/control-gui/MainWindow.xaml.cs | 28 ++++++++++++++++++++++++++++ src/control-gui/control-gui.csproj | 10 ++++++++++ src/defender-control.sln | 20 ++++++++++++++++++++ 7 files changed, 106 insertions(+) create mode 100644 src/control-gui/App.xaml create mode 100644 src/control-gui/App.xaml.cs create mode 100644 src/control-gui/AssemblyInfo.cs create mode 100644 src/control-gui/MainWindow.xaml create mode 100644 src/control-gui/MainWindow.xaml.cs create mode 100644 src/control-gui/control-gui.csproj diff --git a/src/control-gui/App.xaml b/src/control-gui/App.xaml new file mode 100644 index 0000000..021fa74 --- /dev/null +++ b/src/control-gui/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/src/control-gui/App.xaml.cs b/src/control-gui/App.xaml.cs new file mode 100644 index 0000000..7d06caf --- /dev/null +++ b/src/control-gui/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace control_gui +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/src/control-gui/AssemblyInfo.cs b/src/control-gui/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/src/control-gui/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/src/control-gui/MainWindow.xaml b/src/control-gui/MainWindow.xaml new file mode 100644 index 0000000..f9d3af0 --- /dev/null +++ b/src/control-gui/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/src/control-gui/MainWindow.xaml.cs b/src/control-gui/MainWindow.xaml.cs new file mode 100644 index 0000000..deba81e --- /dev/null +++ b/src/control-gui/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace control_gui +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/src/control-gui/control-gui.csproj b/src/control-gui/control-gui.csproj new file mode 100644 index 0000000..2a21033 --- /dev/null +++ b/src/control-gui/control-gui.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net5.0-windows + control_gui + true + + + diff --git a/src/defender-control.sln b/src/defender-control.sln index e4106c7..81bff49 100644 --- a/src/defender-control.sln +++ b/src/defender-control.sln @@ -7,30 +7,50 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "defender-control", "defende EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dumper", "dumper\dumper.vcxproj", "{089CA7D6-3277-4998-86AF-F6413290A442}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "control-gui", "control-gui\control-gui.csproj", "{8D509CF5-2F78-4A20-8796-938A67272819}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|Any CPU.ActiveCfg = Debug|Win32 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x64.ActiveCfg = Debug|x64 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x64.Build.0 = Debug|x64 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x86.ActiveCfg = Debug|Win32 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x86.Build.0 = Debug|Win32 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|Any CPU.ActiveCfg = Release|Win32 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x64.ActiveCfg = Release|x64 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x64.Build.0 = Release|x64 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x86.ActiveCfg = Release|Win32 {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x86.Build.0 = Release|Win32 + {089CA7D6-3277-4998-86AF-F6413290A442}.Debug|Any CPU.ActiveCfg = Debug|Win32 {089CA7D6-3277-4998-86AF-F6413290A442}.Debug|x64.ActiveCfg = Debug|x64 {089CA7D6-3277-4998-86AF-F6413290A442}.Debug|x64.Build.0 = Debug|x64 {089CA7D6-3277-4998-86AF-F6413290A442}.Debug|x86.ActiveCfg = Debug|Win32 {089CA7D6-3277-4998-86AF-F6413290A442}.Debug|x86.Build.0 = Debug|Win32 + {089CA7D6-3277-4998-86AF-F6413290A442}.Release|Any CPU.ActiveCfg = Release|Win32 {089CA7D6-3277-4998-86AF-F6413290A442}.Release|x64.ActiveCfg = Release|x64 {089CA7D6-3277-4998-86AF-F6413290A442}.Release|x64.Build.0 = Release|x64 {089CA7D6-3277-4998-86AF-F6413290A442}.Release|x86.ActiveCfg = Release|Win32 {089CA7D6-3277-4998-86AF-F6413290A442}.Release|x86.Build.0 = Release|Win32 + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x64.ActiveCfg = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x64.Build.0 = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x86.ActiveCfg = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x86.Build.0 = Debug|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|Any CPU.Build.0 = Release|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|x64.ActiveCfg = Release|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|x64.Build.0 = Release|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|x86.ActiveCfg = Release|Any CPU + {8D509CF5-2F78-4A20-8796-938A67272819}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE