陈嘉乐
2020-07-10 48ba446936b51fffafa7c3600c0dadc6ac0e8c20
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs
@@ -84,7 +84,7 @@
        /// <param name="addLine"></param>
        private void AddGatewayRow(VerticalListControl listView, ZbGateway gateway, bool addLine)
        {
            string gwid = HdlGatewayLogic.Current.GetGatewayId(gateway);
            string gwid = gateway.GwId;
            if (this.dicZbGatewayDiv[gwid] != 2)
            {
                //如果本地没有,那么应该是在之后的编辑界面删除了
@@ -180,10 +180,11 @@
        /// </summary>
        public override void CloseFormBefore()
        {
            if (UserCenterResourse.listActionFormId.Contains("UserMainForm") == false)
            var userPageForm = UserView.UserPage.Instance.GetNowActionForm();
            if (userPageForm != null && userPageForm.FormID == "UserMainForm")
            {
                //刷新主页
                UserView.UserPage.Instance.Fresh();
                UserView.UserPage.Instance.ReFreshControl();
            }
            base.CloseFormBefore();
        }