本文介绍了关于代码-来自bluemania的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我做了这个新的Web浏览器第一个vb项目.我有六个按钮
& ProgressBar进度条不起作用,但Web浏览器工作正常
这是一些我无法弄清楚的代码.
i made this new web browser first vb project ever. i''ve got six buttons
& ProgressBar the progressbar doesnt work but the webbrowser works fine
here is some code i cant figure it out.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate(TextBox1.Text)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.GoBack()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
WebBrowser1.GoForward()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
WebBrowser1.Stop()
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
WebBrowser1.Refresh()
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
WebBrowser1.GoHome()
End Sub
Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
任何帮助将不胜感激,谢谢您::suss:
Any help would be much appreciated thank''s :suss:
推荐答案
这篇关于关于代码-来自bluemania的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!