From bddf2da56990352ad3ef52806447f3b65d7d0fc9 Mon Sep 17 00:00:00 2001 From: Bunny <1319900154@qq.com> Date: Thu, 9 Jan 2025 17:29:12 +0800 Subject: [PATCH] =?UTF-8?q?3-WPF=E5=91=BD=E4=BB=A43-=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3-WPF命令.sln | 6 +++++ .../3-WPF命令3-使用命令源.csproj | 18 +++++++++++++++ 3-WPF命令3-使用命令源/App.xaml | 9 ++++++++ 3-WPF命令3-使用命令源/App.xaml.cs | 12 ++++++++++ 3-WPF命令3-使用命令源/AssemblyInfo.cs | 10 +++++++++ 3-WPF命令3-使用命令源/MainWindow.xaml | 21 ++++++++++++++++++ 3-WPF命令3-使用命令源/MainWindow.xaml.cs | 20 +++++++++++++++++ 3-WPF命令3-使用命令源/public/003540AH4M72.jpg | Bin 0 -> 99299 bytes 8 files changed, 96 insertions(+) create mode 100644 3-WPF命令3-使用命令源/3-WPF命令3-使用命令源.csproj create mode 100644 3-WPF命令3-使用命令源/App.xaml create mode 100644 3-WPF命令3-使用命令源/App.xaml.cs create mode 100644 3-WPF命令3-使用命令源/AssemblyInfo.cs create mode 100644 3-WPF命令3-使用命令源/MainWindow.xaml create mode 100644 3-WPF命令3-使用命令源/MainWindow.xaml.cs create mode 100644 3-WPF命令3-使用命令源/public/003540AH4M72.jpg diff --git a/3-WPF命令.sln b/3-WPF命令.sln index fc7dd1b..a6ec439 100644 --- a/3-WPF命令.sln +++ b/3-WPF命令.sln @@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3-WPF命令", "3-WPF命令\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3-WPF命令2", "3-WPF命令2\3-WPF命令2.csproj", "{14E5DFE3-41DE-45F5-94BC-D09C7B8B3C4D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3-WPF命令3-使用命令源", "3-WPF命令3-使用命令源\3-WPF命令3-使用命令源.csproj", "{525781C0-0DB9-41F4-87C5-CECF7261ED25}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -18,5 +20,9 @@ Global {14E5DFE3-41DE-45F5-94BC-D09C7B8B3C4D}.Debug|Any CPU.Build.0 = Debug|Any CPU {14E5DFE3-41DE-45F5-94BC-D09C7B8B3C4D}.Release|Any CPU.ActiveCfg = Release|Any CPU {14E5DFE3-41DE-45F5-94BC-D09C7B8B3C4D}.Release|Any CPU.Build.0 = Release|Any CPU + {525781C0-0DB9-41F4-87C5-CECF7261ED25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {525781C0-0DB9-41F4-87C5-CECF7261ED25}.Debug|Any CPU.Build.0 = Debug|Any CPU + {525781C0-0DB9-41F4-87C5-CECF7261ED25}.Release|Any CPU.ActiveCfg = Release|Any CPU + {525781C0-0DB9-41F4-87C5-CECF7261ED25}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/3-WPF命令3-使用命令源/3-WPF命令3-使用命令源.csproj b/3-WPF命令3-使用命令源/3-WPF命令3-使用命令源.csproj new file mode 100644 index 0000000..a6313ed --- /dev/null +++ b/3-WPF命令3-使用命令源/3-WPF命令3-使用命令源.csproj @@ -0,0 +1,18 @@ + + + + WinExe + net8.0-windows + _3_WPF命令3_使用命令源 + enable + enable + true + + + + + Always + + + + diff --git a/3-WPF命令3-使用命令源/App.xaml b/3-WPF命令3-使用命令源/App.xaml new file mode 100644 index 0000000..d315582 --- /dev/null +++ b/3-WPF命令3-使用命令源/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/3-WPF命令3-使用命令源/App.xaml.cs b/3-WPF命令3-使用命令源/App.xaml.cs new file mode 100644 index 0000000..b80cfe3 --- /dev/null +++ b/3-WPF命令3-使用命令源/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace _3_WPF命令3_使用命令源; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/3-WPF命令3-使用命令源/AssemblyInfo.cs b/3-WPF命令3-使用命令源/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/3-WPF命令3-使用命令源/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) +)] \ No newline at end of file diff --git a/3-WPF命令3-使用命令源/MainWindow.xaml b/3-WPF命令3-使用命令源/MainWindow.xaml new file mode 100644 index 0000000..18c6f5d --- /dev/null +++ b/3-WPF命令3-使用命令源/MainWindow.xaml @@ -0,0 +1,21 @@ + + + + + + + + + + + + +