【实例简介】经过测试可用
【实例截图】
【核心代码】
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | using System; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { webKitBrowser1.Navigate( "" ); } private void button2_Click( object sender, EventArgs e) { webKitBrowser1.Navigate( "" ); } } }
|