vb中如何监视webbrowser控件中发生的事件
1个回答
展开全部
VB.NET的webbrowser事件
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
End Sub
Private Sub WebBrowser1_FileDownload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.FileDownload
End Sub
Private Sub WebBrowser1_Navigated(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated
End Sub
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
'e.Cancel = True
End Sub
Private Sub WebBrowser1_NewWindow(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
End Sub
Private Sub WebBrowser1_ProgressChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
End Sub
Private Sub WebBrowser1_SizeChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.SizeChanged
End Sub
Private Sub WebBrowser1_Move(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.Move
End Sub
Private Sub WebBrowser1_ParentChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.ParentChanged
End Sub
Private Sub WebBrowser1_RegionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.RegionChanged
End Sub
Private Sub WebBrowser1_DockChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.DockChanged
End Sub
Private Sub WebBrowser1_LocationChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.LocationChanged
End Sub
Private Sub WebBrowser1_MarginChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.MarginChanged
End Sub
Private Sub WebBrowser1_PreviewKeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) Handles WebBrowser1.PreviewKeyDown
End Sub
Private Sub WebBrowser1_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.Resize
End Sub
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
End Sub
Private Sub WebBrowser1_FileDownload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.FileDownload
End Sub
Private Sub WebBrowser1_Navigated(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated
End Sub
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
'e.Cancel = True
End Sub
Private Sub WebBrowser1_NewWindow(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
End Sub
Private Sub WebBrowser1_ProgressChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
End Sub
Private Sub WebBrowser1_SizeChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.SizeChanged
End Sub
Private Sub WebBrowser1_Move(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.Move
End Sub
Private Sub WebBrowser1_ParentChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.ParentChanged
End Sub
Private Sub WebBrowser1_RegionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.RegionChanged
End Sub
Private Sub WebBrowser1_DockChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.DockChanged
End Sub
Private Sub WebBrowser1_LocationChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.LocationChanged
End Sub
Private Sub WebBrowser1_MarginChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.MarginChanged
End Sub
Private Sub WebBrowser1_PreviewKeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) Handles WebBrowser1.PreviewKeyDown
End Sub
Private Sub WebBrowser1_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebBrowser1.Resize
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询