开发者

Can I close a Windows Form from a link in a WebBrowser control?

Okay, 开发者_JAVA技巧I have a WebBrowser control in my VB.NET application that loads a PHP page inside it. On the PHP page I have a 'Log Out' hyperlink. What I'm trying to do is close the VB.NET form when that hyperlink is clicked. Can anyone tell me how to accomplish this - assuming it's even possible?


Okay, I figured this one out. I just had the browser control check the URL after it loaded the login page and forced it to close the form that way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜