private Boolean ConnectionSiteWeb() { try { this.ShowConnectingMessage("获取账套中……"); String response = null; if (!GlobalUtil.GetBusinessAccountFromAPI(config, out response, this.skinTextBoxBusinessAccount.Text)) { this.ShowConnectingMessage(response, true, skinTextBoxBusinessAccount); //skinTextBoxBusinessAccount.Focus(); return(false); } else { this.ShowConnectingMessage("账套获取成功!"); //保存商户网站信息 //if (DateTime.Now > config.BusinessAccount.ExpiredDate) { // this.ShowConnectingMessage("账号", true, skinTextBoxBusinessAccount); //} config.Save(CONFIG_PATH); return(true); } } catch (Exception ex) { GlobalUtil.WriteLog(ex); this.ShowConnectingMessage("连接不到站点,请联系客服!", true, null); return(false); } }