none
如何在webkit里设置这个东西? RRS feed

  • 问题

  • Public Class Form1 _________________________________________________ Private WithEvents CurrentDocument As HtmlDocument ____________________________________________________ Dim MousePoint As Point ____________________________________________________ Dim Ele As HtmlElement ______________________________________________________ Private Sub WebKitBrowser1_Navigated(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebKitBrowser1.Navigated __________________________________________________________ CurrentDocument = WebKitBrowser1.Document ________________________________________________________ ________________________________________________________ ________________________________________________________ 这里它会出现一个error code: 错误1:类型“WebKit.DOM.Document”的值无法转换为“System.Windows.Forms.HtmlDocument”。 然后接下来的我都不懂了。。。。 (code的来源:http://www.dreamincode.net/forums/topic/169683-advanced-webbrowser-contextmenu/)
    我不是很聪明,但是也不笨。。。哈哈!!
    • 已编辑 oks1998 2011年12月22日 12:47
    2011年12月22日 12:44

答案