Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public void OAuth()
  2. {
  3. webBrowser1.Navigate(String.Format(url));
  4. webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(isLoaded);
  5. MessageBox.Show("1");
  6. }
  7. public void isLoaded(object sender, WebBrowserDocumentCompletedEventArgs e)
  8. {
  9. if (webBrowser1.DocumentTitle == "OAuth Blank")
  10. {
  11. MessageBox.Show("2");
  12. }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement