为什么滚动事件不起作用?

时间:2018-07-05 08:38:24

标签: dotnetbrowser

为什么滚动事件不起作用? 但MouseWheel可以工作。 是我想念的吗?

    AddHandler browserView1.Scroll, AddressOf ScrollChange
    AddHandler browserView1.MouseWheel, AddressOf MouseWheelChange



 //Not running
 Public Sub ScrollChange(sender As Object, e As System.Windows.Forms.ScrollEventArgs)
    Debug.Print("Scroll")
 End Sub

 //run
 Public Sub MouseWheelChange(sender As Object, e As System.Windows.Forms.MouseEventArgs)

    Debug.Print("MouseWheel")
 end sub

0 个答案:

没有答案