public bool BindingCheck(CompanyAccount account)
        {
            this.companyAccount = account;
            string     strURL = string.Format("{0}/Login.aspx", this.companyAccount.ServiceURL);
            Uri        url    = new System.Uri(strURL, System.UriKind.Absolute);
            LoginCheck lc     = new LoginCheck(url, true, "账号检查,请稍后...");

            lc.ShowDialog();
            isLogin = lc.OK;
            return(lc.OK);
        }
 private bool CheckLogin()
 {
     lock (_lock)
     {
         string     strURL = string.Format("{0}/CheckLogin.html", this.companyAccount.ServiceURL);
         LoginCheck lc     = new LoginCheck(new System.Uri(strURL, System.UriKind.Absolute), false);
         lc.ShowDialog();
         isLogin = lc.OK;
         lc      = null;
         return(true);// lc.OK;
     }
 }