黄学彪
2020-04-26 18a7f9f40e5fab3bee5d4ac3d8fd0273dea052d6
ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs
@@ -141,6 +141,11 @@
            btnUserIcon.Y = frameWhite.Y - Application.GetRealHeight(109);
            btnUserIcon.MouseUpEventHandler += (sender, e) =>
            {
                if (Common.Config.Instance.Home.IsVirtually == true)
                {
                    //如果改住宅为虚拟住宅,则此功能无效
                    return;
                }
                var form = new UserInformationForm();
                form.AddForm();
            };
@@ -171,7 +176,7 @@
            this.btnAuthority = new NormalViewControl(605, 60, true);
            btnAuthority.X = btnUserName.X;
            btnAuthority.Y = btnUserName.Bottom;
            btnAuthority.TextColor = UserCenterColor.Current.Gray;
            btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnAuthority.TextSize = 12;
            if (UserCenterResourse.UserInfo != null)
            {
@@ -247,6 +252,11 @@
                var frame = this.CreatMainMenuControl(frameMenu, TextID, unSelectPic);
                frame.ButtonClickEvent += (sender, e) =>
                {
                    if (Common.Config.Instance.Home.IsVirtually == true)
                    {
                        //如果改住宅为虚拟住宅,则此功能无效
                        return;
                    }
                    var form = new Member.MemberListForm();
                    form.AddForm();
                };
@@ -300,6 +310,11 @@
                var frame = this.CreatMainMenuControl(frameMenu, TextID, unSelectPic);
                frame.ButtonClickEvent += (sender, e) =>
                {
                    if (Common.Config.Instance.Home.IsVirtually == true)
                    {
                        //如果改住宅为虚拟住宅,则此功能无效
                        return;
                    }
                    var form = new Safety.SafetyManagementMainForm();
                    form.AddForm();
                };
@@ -388,6 +403,11 @@
                btnBackView.X -= ControlCommonResourse.XXLeft / 2;
                rowback.ButtonClickEvent += (sender, e) =>
                {
                    if (Common.Config.Instance.Home.IsVirtually == true)
                    {
                        //如果改住宅为虚拟住宅,则此功能无效
                        return;
                    }
                    var form = new HdlBackup.HdlBackupListForm();
                    form.AddForm();
                };
@@ -433,6 +453,11 @@
            btnAbountView.X -= ControlCommonResourse.XXLeft / 2;
            rowAbount.ButtonClickEvent += (sender, e) =>
            {
                if (Common.Config.Instance.Home.IsVirtually == true)
                {
                    //如果改住宅为虚拟住宅,则此功能无效
                    return;
                }
                var form = new Abount.AbountForm();
                form.AddForm();
            };