Hi there. I want to make this so when the webbrowser control is clicked it hides the webbrowser control. I couldnt find out where to do this at. The WebBrowser is on a Form.
On the form it shows a website with a url picture. When it is clicked i want the webbrowser to hide. Because there are button controls behind it.

Right now when the url WebBrowser is clicked it opens a new window of IE.
Code:
private: System::Void URL_Mine_DocumentCompleted(System::Object^  sender, System::Windows::Forms::WebBrowserDocumentCompletedEventArgs^  e) {
  if (URL_Mine->ReadyState == WebBrowserReadyState::Loaded)
  { if (URL_Mine->ReadyState == WebBrowserReadyState::Loading)
	  {
  this->URL_Mine->Visible = false;
  }
	  else
	  {
		 this->URL_Mine->Visible = true;
	  }
		 }
		 }
Is there something wrong with this?
It doesnt show an error, but it doesnt work.