# ExtendWebBrowser **Repository Path**: tall123/ExtendWebBrowser ## Basic Information - **Project Name**: ExtendWebBrowser - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-18 - **Last Updated**: 2025-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ExtendWebBrowser extend winform webbrowser control 项目描述请看https://blog.csdn.net/wodeshijianhrf/article/details/90746142 ## 环境 - .net framework4.5 ## 在wpf项目中使用 - 需要项目引用两个dll WindowsFormsIntegration.dll,System.Windows.Forms.dll - 在xmal中使用扩展的控件需要加 ```xml xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" ``` ```xml ``` ## 扩展 1. DWebBrowserEvents2 中加入需要扩展的事件 https://docs.microsoft.com/en-us/dotnet/api/shdocvw.dwebbrowserevents2?view=dynamics-usd-3 2. ExtendedWebBrowser与IWebBrowserEvent中加入对外暴露的事件 3. WebBrowserExtendedEvents 中进行中转事件