diff --git a/WPF基础-5-DockPanel1/App.xaml b/WPF基础-5-DockPanel1/App.xaml
new file mode 100644
index 0000000..05045e0
--- /dev/null
+++ b/WPF基础-5-DockPanel1/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/WPF基础-5-DockPanel1/App.xaml.cs b/WPF基础-5-DockPanel1/App.xaml.cs
new file mode 100644
index 0000000..971dc58
--- /dev/null
+++ b/WPF基础-5-DockPanel1/App.xaml.cs
@@ -0,0 +1,12 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace WPF基础_5_DockPanel;
+
+///
+/// Interaction logic for App.xaml
+///
+public partial class App : Application
+{
+}
\ No newline at end of file
diff --git a/WPF基础-5-DockPanel1/AssemblyInfo.cs b/WPF基础-5-DockPanel1/AssemblyInfo.cs
new file mode 100644
index 0000000..4a05c7d
--- /dev/null
+++ b/WPF基础-5-DockPanel1/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/WPF基础-5-DockPanel1/MainWindow.xaml b/WPF基础-5-DockPanel1/MainWindow.xaml
new file mode 100644
index 0000000..cbe2c2d
--- /dev/null
+++ b/WPF基础-5-DockPanel1/MainWindow.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WPF基础-5-DockPanel1/MainWindow.xaml.cs b/WPF基础-5-DockPanel1/MainWindow.xaml.cs
new file mode 100644
index 0000000..4dcaf44
--- /dev/null
+++ b/WPF基础-5-DockPanel1/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 WPF基础_5_DockPanel;
+
+///
+/// Interaction logic for MainWindow.xaml
+///
+public partial class MainWindow : Window
+{
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/WPF基础-5-DockPanel1/WPF基础-5-DockPanel1.csproj b/WPF基础-5-DockPanel1/WPF基础-5-DockPanel1.csproj
new file mode 100644
index 0000000..0b0643d
--- /dev/null
+++ b/WPF基础-5-DockPanel1/WPF基础-5-DockPanel1.csproj
@@ -0,0 +1,12 @@
+
+
+
+ WinExe
+ net8.0-windows
+ WPF基础_5_DockPanel
+ enable
+ enable
+ true
+
+
+
diff --git a/WPF基础-5-DockPanel2/App.xaml b/WPF基础-5-DockPanel2/App.xaml
new file mode 100644
index 0000000..c494e52
--- /dev/null
+++ b/WPF基础-5-DockPanel2/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/WPF基础-5-DockPanel2/App.xaml.cs b/WPF基础-5-DockPanel2/App.xaml.cs
new file mode 100644
index 0000000..9ec8d6a
--- /dev/null
+++ b/WPF基础-5-DockPanel2/App.xaml.cs
@@ -0,0 +1,12 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace WPF基础_5_DockPanel2;
+
+///
+/// Interaction logic for App.xaml
+///
+public partial class App : Application
+{
+}
\ No newline at end of file
diff --git a/WPF基础-5-DockPanel2/AssemblyInfo.cs b/WPF基础-5-DockPanel2/AssemblyInfo.cs
new file mode 100644
index 0000000..4a05c7d
--- /dev/null
+++ b/WPF基础-5-DockPanel2/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/WPF基础-5-DockPanel2/MainWindow.xaml b/WPF基础-5-DockPanel2/MainWindow.xaml
new file mode 100644
index 0000000..7b5f7da
--- /dev/null
+++ b/WPF基础-5-DockPanel2/MainWindow.xaml
@@ -0,0 +1,12 @@
+
+
+
+
+
diff --git a/WPF基础-5-DockPanel2/MainWindow.xaml.cs b/WPF基础-5-DockPanel2/MainWindow.xaml.cs
new file mode 100644
index 0000000..67c9453
--- /dev/null
+++ b/WPF基础-5-DockPanel2/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 WPF基础_5_DockPanel2;
+
+///
+/// Interaction logic for MainWindow.xaml
+///
+public partial class MainWindow : Window
+{
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/WPF基础-5-DockPanel2/WPF基础-5-DockPanel2.csproj b/WPF基础-5-DockPanel2/WPF基础-5-DockPanel2.csproj
new file mode 100644
index 0000000..4831fe4
--- /dev/null
+++ b/WPF基础-5-DockPanel2/WPF基础-5-DockPanel2.csproj
@@ -0,0 +1,12 @@
+
+
+
+ WinExe
+ net8.0-windows
+ WPF基础_5_DockPanel2
+ enable
+ enable
+ true
+
+
+
diff --git a/WPF基础.sln b/WPF基础.sln
index 66e1d28..3245fbe 100644
--- a/WPF基础.sln
+++ b/WPF基础.sln
@@ -16,6 +16,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-3-Border1", "WPF
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-4-WrapPanel", "WPF基础-4-WrapPanel\WPF基础-4-WrapPanel.csproj", "{1BCF797F-E54B-459C-AF75-6A8BDA237E7B}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-5-DockPanel1", "WPF基础-5-DockPanel1\WPF基础-5-DockPanel1.csproj", "{A9BDF438-169E-4D6C-B05C-6A5CB268A3C0}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-5-DockPanel2", "WPF基础-5-DockPanel2\WPF基础-5-DockPanel2.csproj", "{492BB6A7-437F-4E7B-BCA8-3C8BB624B8C7}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -54,5 +58,13 @@ Global
{1BCF797F-E54B-459C-AF75-6A8BDA237E7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BCF797F-E54B-459C-AF75-6A8BDA237E7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BCF797F-E54B-459C-AF75-6A8BDA237E7B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A9BDF438-169E-4D6C-B05C-6A5CB268A3C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A9BDF438-169E-4D6C-B05C-6A5CB268A3C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A9BDF438-169E-4D6C-B05C-6A5CB268A3C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A9BDF438-169E-4D6C-B05C-6A5CB268A3C0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {492BB6A7-437F-4E7B-BCA8-3C8BB624B8C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {492BB6A7-437F-4E7B-BCA8-3C8BB624B8C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {492BB6A7-437F-4E7B-BCA8-3C8BB624B8C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {492BB6A7-437F-4E7B-BCA8-3C8BB624B8C7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal