gxc
2019-10-28 1c4904d77f484c075080942d87785481b52b6fb2
ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
@@ -57,11 +57,11 @@
            btnTopIcon = new MostRightIconControl(69, 69);
            if (memberInfo.AccountType == 1)
            {
                btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
                btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
            }
            else
            {
                btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
                btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
            }
            topFrameLayout.AddChidren(btnTopIcon);
            btnTopIcon.InitControl();
@@ -71,17 +71,10 @@
                if (memberInfo.AccountType != 1)
                {
                    msg = Language.StringByID(R.MyInternationalizationString.uUpSubAccountLevel);
                    if (msg.Contains("{0}") == true)
                    {
                        msg = string.Format(msg, string.IsNullOrEmpty(memberInfo.UserName) == true ? memberInfo.Account : memberInfo.UserName);
                    }
                }
                this.ShowMassage(ShowMsgType.Confirm, msg, () =>
                 {
                     //二次安全验证,如果没有设置有,直接跳过验证
                     HdlCheckLogic.Current.CheckSecondarySecurity(
                         () => { this.UpOrDownSubAccountLevel(); },
                         () => { this.UpOrDownSubAccountLevel(); });
                     this.UpOrDownSubAccountLevel();
                 });
            };
        }
@@ -263,7 +256,7 @@
            var memberShardInfo = new MemberShardInfoData();
            row.ButtonClickEvent += (sender, e) =>
            {
                var form = new SharedContent.LookSharedListRoomForm();
                var form = new SharedContent.SearchConfigureSharedListRoomForm();
                form.AddForm(memberInfo, memberShardInfo);
            };
        }
@@ -303,11 +296,11 @@
                //变更权限图标
                if (memberInfo.AccountType == 1)
                {
                    btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
                    btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
                }
                else
                {
                    btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
                    btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
                }
                //变更权限文字
                btnAuthority.TextID = memberInfo.AccountType == 1 ? R.MyInternationalizationString.uMemberHadActionAuthority : R.MyInternationalizationString.uMember;