黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs
@@ -13,7 +13,7 @@
        /// <summary>
        /// 主菜单背景框
        /// </summary>
        private FrameLayout frameMainMenuBack = null;
        private NormalFrameLayout frameMainMenuBack = null;
        /// <summary>
        /// 其他菜单的容器控件
        /// </summary>
@@ -50,10 +50,14 @@
        /// </summary>
        public void ShowForm()
        {
            this.FormID = "UserMainForm";
            //特殊处理:恢复可关闭进度条,别问为什么,我也不知道为什么,以防万一而已
            ProgressBar.SetCloseBarFlag(false);
            //初始化框架
            this.InitForm();
            //初始化头部控件
            this.InitTopFrameLayout();
            //初始化中部控件
            this.InitBodyFrameLayout();
            //移除返回键
            base.RemoveBackButton();
@@ -75,7 +79,7 @@
            this.ClearBodyFrame();
            //个人中心
            var btnTitle = new NormalViewControl(350, 100, true);
            var btnTitle = new NormalViewControl(450, 100, true);
            btnTitle.X = ControlCommonResourse.XXLeft;
            btnTitle.Y = Application.GetRealHeight(112);
            btnTitle.TextColor = UserCenterColor.Current.White;
@@ -214,7 +218,7 @@
            else
            {
                //背景框
                frameMainMenuBack = new FrameLayout();
                frameMainMenuBack = new NormalFrameLayout();
                frameMainMenuBack.Y = Application.GetRealHeight(288);
                frameMainMenuBack.Gravity = Gravity.CenterHorizontal;
                frameMainMenuBack.Height = Application.GetRealHeight(371);
@@ -310,7 +314,7 @@
                frame.ButtonClickEvent += (sender, e) =>
                {
                    //住宅接口不需要特殊的登陆Token
                    var form = new Residence.ResidenceListForm();
                    var form = new Residence.ResidenceListMainForm();
                    form.AddForm();
                };
            }