If e.Form.ActiveControl IsNot Nothing AndAlso (e.form.ActiveControl.name = "WebBrowser1" OrElse e.form.ActiveControl.name = "Button1") Then