diff --git a/3-WPF命令.sln b/3-WPF命令.sln
index 02b63e3..c4d112f 100644
--- a/3-WPF命令.sln
+++ b/3-WPF命令.sln
@@ -20,6 +20,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "4-WPF资源-3资源字典",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5-WPF样式和行为-1样式基础", "5-WPF样式和行为-1样式基础\5-WPF样式和行为-1样式基础.csproj", "{A8F279AB-332A-4EF6-B5A4-1F37A31A278A}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5-WPF样式和行为-2创建样式对象", "5-WPF样式和行为-2创建样式对象\5-WPF样式和行为-2创建样式对象.csproj", "{97B916D8-9AE5-4B39-A7D9-CDB7902AFA31}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -66,5 +68,9 @@ Global
{A8F279AB-332A-4EF6-B5A4-1F37A31A278A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8F279AB-332A-4EF6-B5A4-1F37A31A278A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8F279AB-332A-4EF6-B5A4-1F37A31A278A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {97B916D8-9AE5-4B39-A7D9-CDB7902AFA31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {97B916D8-9AE5-4B39-A7D9-CDB7902AFA31}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {97B916D8-9AE5-4B39-A7D9-CDB7902AFA31}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {97B916D8-9AE5-4B39-A7D9-CDB7902AFA31}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/5-WPF样式和行为-2创建样式对象/5-WPF样式和行为-2创建样式对象.csproj b/5-WPF样式和行为-2创建样式对象/5-WPF样式和行为-2创建样式对象.csproj
new file mode 100644
index 0000000..18f7738
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/5-WPF样式和行为-2创建样式对象.csproj
@@ -0,0 +1,18 @@
+
+
+
+ WinExe
+ net8.0-windows
+ _5_WPF样式和行为_2创建样式对象
+ enable
+ enable
+ true
+
+
+
+
+ Always
+
+
+
+
diff --git a/5-WPF样式和行为-2创建样式对象/App.xaml b/5-WPF样式和行为-2创建样式对象/App.xaml
new file mode 100644
index 0000000..a087297
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/5-WPF样式和行为-2创建样式对象/App.xaml.cs b/5-WPF样式和行为-2创建样式对象/App.xaml.cs
new file mode 100644
index 0000000..29042a7
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/App.xaml.cs
@@ -0,0 +1,12 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace _5_WPF样式和行为_2创建样式对象;
+
+///
+/// Interaction logic for App.xaml
+///
+public partial class App : Application
+{
+}
\ No newline at end of file
diff --git a/5-WPF样式和行为-2创建样式对象/AssemblyInfo.cs b/5-WPF样式和行为-2创建样式对象/AssemblyInfo.cs
new file mode 100644
index 0000000..4a05c7d
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/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/5-WPF样式和行为-2创建样式对象/MainWindow.xaml b/5-WPF样式和行为-2创建样式对象/MainWindow.xaml
new file mode 100644
index 0000000..8da5e59
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/MainWindow.xaml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/5-WPF样式和行为-2创建样式对象/MainWindow.xaml.cs b/5-WPF样式和行为-2创建样式对象/MainWindow.xaml.cs
new file mode 100644
index 0000000..6ae3572
--- /dev/null
+++ b/5-WPF样式和行为-2创建样式对象/MainWindow.xaml.cs
@@ -0,0 +1,14 @@
+using System.Windows;
+
+namespace _5_WPF样式和行为_2创建样式对象;
+
+///
+/// Interaction logic for MainWindow.xaml
+///
+public partial class MainWindow : Window
+{
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/5-WPF样式和行为-2创建样式对象/public/003540AH4M72.jpg b/5-WPF样式和行为-2创建样式对象/public/003540AH4M72.jpg
new file mode 100644
index 0000000..4aa96ac
Binary files /dev/null and b/5-WPF样式和行为-2创建样式对象/public/003540AH4M72.jpg differ