Beispiel #1
0
 /****************************************Form Event****************************************************************/
 #region Form Event
 private void UC_SizeChanged(object sender, EventArgs e)
 {
     if (UC.geturl() != "" && UC.gethtmlsource() != "")
     {
         UC.callJS();
     }
 }
Beispiel #2
0
        private void waitdata()
        {
            string finishurl = @"https://api.twitter.com/oauth/authorize";

            while (true)
            {
                if (UC.geturl() == finishurl)
                {
                    if (twitterAuthenticateHtml(UC.gethtmlsource()))
                    {
                        break;
                    }
                }
                Thread.Sleep(100);
            }
        }