From dce9f31aaeff88b0b4c26cbd0b7f360355477a63 Mon Sep 17 00:00:00 2001 From: shisupeng Date: Tue, 11 Feb 2025 15:14:34 +0800 Subject: [PATCH] 1 --- AutoUpdate/AutoUpdate.sln | 24 ++++++++++++++++++++++++ AutoUpdate/AutoUpdate/App.xaml | 9 +++++++++ AutoUpdate/AutoUpdate/App.xaml.cs | 13 +++++++++++++ AutoUpdate/AutoUpdate/AssemblyInfo.cs | 10 ++++++++++ AutoUpdate/AutoUpdate/AutoUpdate.csproj | 11 +++++++++++ AutoUpdate/AutoUpdate/MainWindow.xaml | 12 ++++++++++++ AutoUpdate/AutoUpdate/MainWindow.xaml.cs | 23 +++++++++++++++++++++++ 7 files changed, 102 insertions(+) create mode 100644 AutoUpdate/AutoUpdate.sln create mode 100644 AutoUpdate/AutoUpdate/App.xaml create mode 100644 AutoUpdate/AutoUpdate/App.xaml.cs create mode 100644 AutoUpdate/AutoUpdate/AssemblyInfo.cs create mode 100644 AutoUpdate/AutoUpdate/AutoUpdate.csproj create mode 100644 AutoUpdate/AutoUpdate/MainWindow.xaml create mode 100644 AutoUpdate/AutoUpdate/MainWindow.xaml.cs diff --git a/AutoUpdate/AutoUpdate.sln b/AutoUpdate/AutoUpdate.sln new file mode 100644 index 0000000..e58e391 --- /dev/null +++ b/AutoUpdate/AutoUpdate.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35731.43 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoUpdate", "AutoUpdate\AutoUpdate.csproj", "{7851792C-7CFE-4748-A712-974AE110E2D3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7851792C-7CFE-4748-A712-974AE110E2D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7851792C-7CFE-4748-A712-974AE110E2D3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7851792C-7CFE-4748-A712-974AE110E2D3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7851792C-7CFE-4748-A712-974AE110E2D3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D1E52751-09DD-4E9D-9DBB-92DE01487AE8} + EndGlobalSection +EndGlobal diff --git a/AutoUpdate/AutoUpdate/App.xaml b/AutoUpdate/AutoUpdate/App.xaml new file mode 100644 index 0000000..91d23de --- /dev/null +++ b/AutoUpdate/AutoUpdate/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/AutoUpdate/AutoUpdate/App.xaml.cs b/AutoUpdate/AutoUpdate/App.xaml.cs new file mode 100644 index 0000000..3519eb4 --- /dev/null +++ b/AutoUpdate/AutoUpdate/App.xaml.cs @@ -0,0 +1,13 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace AutoUpdate; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} + diff --git a/AutoUpdate/AutoUpdate/AssemblyInfo.cs b/AutoUpdate/AutoUpdate/AssemblyInfo.cs new file mode 100644 index 0000000..cc29e7f --- /dev/null +++ b/AutoUpdate/AutoUpdate/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/AutoUpdate/AutoUpdate/AutoUpdate.csproj b/AutoUpdate/AutoUpdate/AutoUpdate.csproj new file mode 100644 index 0000000..defb4d1 --- /dev/null +++ b/AutoUpdate/AutoUpdate/AutoUpdate.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net9.0-windows + enable + enable + true + + + diff --git a/AutoUpdate/AutoUpdate/MainWindow.xaml b/AutoUpdate/AutoUpdate/MainWindow.xaml new file mode 100644 index 0000000..379fb3a --- /dev/null +++ b/AutoUpdate/AutoUpdate/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/AutoUpdate/AutoUpdate/MainWindow.xaml.cs b/AutoUpdate/AutoUpdate/MainWindow.xaml.cs new file mode 100644 index 0000000..8e86fe9 --- /dev/null +++ b/AutoUpdate/AutoUpdate/MainWindow.xaml.cs @@ -0,0 +1,23 @@ +using System.Text; +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 AutoUpdate; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file