Exemplo n.º 1
0
 private void browserLogin(string Username, string Password)
 {
     webBrowser.Login(Username, Password);
     System.Threading.Thread.Sleep(1000); // HACK: fix this mess
     if (LoadProfile != null)
     {
         LoadProfile(null, null);
     }
     Variables.User.UpdateWikiStatus();
 }
Exemplo n.º 2
0
        private void browserLogin(string Username, string Password)
        {
            if (webBrowser == null)
            {
                webBrowser = new WikiFunctions.Browser.WebControl();
            }

            webBrowser.Login(Username, Password);
            LoadProfile(null, null);
            Variables.User.UpdateWikiStatus();
        }