diff --git a/WebView2Demo b/WebView2Demo
deleted file mode 160000
index 1d85cb1..0000000
--- a/WebView2Demo
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 1d85cb160f81d5a41125d348f97c01b2db0a09b4
diff --git a/WebView2Demo/App.xaml b/WebView2Demo/App.xaml
new file mode 100644
index 0000000..2ba4e10
--- /dev/null
+++ b/WebView2Demo/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/WebView2Demo/App.xaml.cs b/WebView2Demo/App.xaml.cs
new file mode 100644
index 0000000..8a81f09
--- /dev/null
+++ b/WebView2Demo/App.xaml.cs
@@ -0,0 +1,13 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace WebView2Demo;
+
+///
+/// Interaction logic for App.xaml
+///
+public partial class App : Application
+{
+}
+
diff --git a/WebView2Demo/AssemblyInfo.cs b/WebView2Demo/AssemblyInfo.cs
new file mode 100644
index 0000000..cc29e7f
--- /dev/null
+++ b/WebView2Demo/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/WebView2Demo/MainWindow.xaml b/WebView2Demo/MainWindow.xaml
new file mode 100644
index 0000000..d37b83b
--- /dev/null
+++ b/WebView2Demo/MainWindow.xaml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebView2Demo/MainWindow.xaml.cs b/WebView2Demo/MainWindow.xaml.cs
new file mode 100644
index 0000000..bbfe347
--- /dev/null
+++ b/WebView2Demo/MainWindow.xaml.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Windows;
+using Microsoft.Web.WebView2.Wpf;
+
+namespace WebView2Demo
+{
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ InitializeWebView();
+ }
+
+ private async void InitializeWebView()
+ {
+ try
+ {
+ // 初始化 WebView2
+ await WebView.EnsureCoreWebView2Async();
+ Console.WriteLine("WebView2 初始化成功!");
+
+ // 可以设置自定义 UserAgent
+ // WebView.CoreWebView2.Settings.UserAgent = "MyApp/1.0";
+
+ // 监听页面加载完成事件
+ WebView.CoreWebView2.NavigationCompleted += (s, e) =>
+ {
+ Console.WriteLine("页面加载完成, Success: " + e.IsSuccess);
+ };
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show($"WebView2 初始化失败: {ex.Message}\n请确保已安装 WebView2 Runtime",
+ "错误", MessageBoxButton.OK, MessageBoxImage.Error);
+ }
+ }
+
+ private void RefreshPage(object sender, RoutedEventArgs e)
+ {
+ WebView.Reload();
+ }
+ }
+}
diff --git a/WebView2Demo/README.md b/WebView2Demo/README.md
new file mode 100644
index 0000000..411f8f9
--- /dev/null
+++ b/WebView2Demo/README.md
@@ -0,0 +1,43 @@
+# WebView2Demo
+
+无言势字幕 - WebView2 学习项目
+
+## 技术栈
+
+- C# / .NET 8
+- WPF (Windows Presentation Foundation)
+- Microsoft WebView2 (Chrome 内核)
+
+## 项目结构
+
+```
+WebView2Demo/
+├── MainWindow.xaml # WPF 窗口
+├── MainWindow.xaml.cs # 窗口逻辑
+├── App.xaml # 应用入口
+└── WebView2Demo.csproj # 项目配置
+```
+
+## 运行
+
+```bash
+dotnet restore
+dotnet run
+```
+
+## 功能
+
+- WebView2 控件加载网页
+- C# 与 JavaScript 通信
+- WPF 窗口嵌入浏览器
+
+## 学习笔记
+
+查看 [C# 学习笔记目录](../notes/)
+
+- Lesson 01-10: C# 基础
+- Lesson 11: WebView2 入门
+
+## 作者
+
+Rosmontis_Cloud
diff --git a/WebView2Demo/WebView2Demo.csproj b/WebView2Demo/WebView2Demo.csproj
new file mode 100644
index 0000000..f0b70a0
--- /dev/null
+++ b/WebView2Demo/WebView2Demo.csproj
@@ -0,0 +1,15 @@
+
+
+
+ WinExe
+ net8.0-windows
+ enable
+ enable
+ true
+
+
+
+
+
+
+