Example #1
0
        public void SetCloseInfo()
        {
            scoketManager.StopTradeTimer();
            scoketManager.Dispose();

            #region 清空下单面板
            ClearTradeList();
            #endregion

            TradeInfoHelper.OptionalModelList.Clear();
            SetOptionalList();
            UserInfoHelper.IsLock      = false;
            UserInfoHelper.IsHaveLogin = false;

            IsSiteEnable       = true;
            IsUserNameEnable   = true;
            AuthCodeVisibility = Visibility.Visible;
            LoginBtnName       = "登录";
            LoginStatus        = string.Empty;
            Password           = string.Empty;
            AuthCode           = string.Empty;
            CreateImageSource();

            ServerStatusInfoHelper.Instace().TradeServerStatus = string.Empty;
        }