I have a Windows Form with a web browser on it, on the page is a button and when pressed it closes the browser, how do I get it to close the form aswell?
Not sure how to do that, best way I can think of is to have a variable that is set to true when the browser is open and set to false when the browser is closed.
Out of interest, why do you want to keep checking that opposed to just modifying the function the button is bound to?