C#调用webkit源码
来源:互联网 发布:php strip tags 乱码 编辑:程序博客网 时间:2024/05/21 08:20
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using WebKit;namespace webkittest{ public partial class Form1 : Form { WebKit.WebKitBrowser browser = new WebKitBrowser(); public Form1() { InitializeComponent(); this.Load += new EventHandler(Form1_Load); this.browser.Navigated += new WebBrowserNavigatedEventHandler(mes); } private void button1_Click(object sender, EventArgs e) { browser.Dock = DockStyle.Fill; this.Controls.Add(browser); browser.Navigate("http://www.baidu.com"); // browser.Load("http://www.baidu.com"); MessageBox.Show(this.browser.DocumentText); } protected override void OnClick(EventArgs e) { this.Hide(); } private void Form1_Load(object sender, EventArgs e) { } void browser_Navigated(object sender, WebBrowserNavigatedEventArgs e) { //textBox1.Text = browser.Url.ToString(); } void mes(object sender, WebBrowserNavigatedEventArgs e) { //MessageBox.Show("OK"); } private void button2_Click(object sender, EventArgs e) { MessageBox.Show(this.browser.DocumentText); } }}IT部落格(http://www.itbuluoge.com)-快乐快速学习,专注于免费编程教程,在线编程,IT面试笔记,IT面试经验
0 0
- C#调用webkit源码
- 获取android webkit 源码
- WebKit内核源码分析
- WebKit内核源码分析
- webkit源码中的日志
- webkit的源码编译
- webkit源码分析
- webkit源码解读-FileList
- android 调用Webkit工具
- C++ webkit调用javascript
- c# webkit 模拟点击
- C# Webkit GetElementById Click
- c#通过 wsdl调用Webservice 源码
- Android调用后台服务c# Webservice(源码)
- webkit内核源码分析一
- webkit内核源码分析二
- webkit内核源码分析三
- webkit内核源码分析四
- JavaBean知识点
- NuptOJ1043合法序列——斐波那契数列
- Java使用jdbc连接MySQL数据库详细实例
- matlab代码优化(转来的,没法转,就copy过来了)
- Android 自定义View (一)
- C#调用webkit源码
- MVC使用百度开源文本编辑器UEditor实现图文并茂,字数限制,上传图片或涂鸦
- tab切换效果
- 程序员自学/自我培训指南
- jquery datatable
- cocos2dX 番外篇之CCSpriteBatchNode
- Could not find action or result
- Android 自定义View (二) 进阶
- 国内各大互联网公司技术站点(腾讯阿里百度等各大公司技术分享大集会)