3C科技 娛樂遊戲 美食旅遊 時尚美妝 親子育兒 生活休閒 金融理財 健康運動 寰宇綜合

Zi 字媒體

2017-07-25T20:27:27+00:00
加入好友
C# 將WebBowser控件替换為Chrome核心(webkit) [替換.NET原生的瀏覽器元件] 資料來源:https://sourceforge.net/projects/webkitdotnet/ https://hk.saowen.com/a/c34a50f0182958d8f6f18b6e6eed1b3238293819551b790f22a91e1d5997931d https://www.cnblogs.com/letcafe/p/WebKitBrowser.html GITHUB: https://github.com/jash-git/CS-webkit 自己實驗步驟    01.下載對應函式庫    02.建立測試專案引用DLL    03.寫上對應程式碼 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CS_webkit { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { WebKit.WebKitBrowser browser = new WebKit.WebKitBrowser(); browser.Dock = DockStyle.Fill; this.Controls.Add(browser); browser.Navigate("http://jashliao.eu/wordpress/"); } } }

本文由jashliaoeuwordpress提供 原文連結

寫了 5860316篇文章,獲得 23313次喜歡
精彩推薦