gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayAddSuccessForm.cs
@@ -51,6 +51,7 @@
            //添加智能网关成功
            var btnMsg = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(85), false);
            btnMsg.IsBold = true;
            btnMsg.Y = Application.GetRealHeight(732);
            btnMsg.TextAlignment = TextAlignment.Center;
            btnMsg.TextSize = 20;
@@ -67,6 +68,7 @@
            frameAdd.BackgroundImagePath = "Item/BottomButtonGround.png";
            bodyFrameLayout.AddChidren(frameAdd);
            var btnAdd = new NormalViewControl(300, 65, true);
            btnAdd.IsBold = true;
            btnAdd.TextColor = UserCenterColor.Current.White;
            btnAdd.TextSize = 16;
            btnAdd.Y = Application.GetRealHeight(49);
@@ -76,11 +78,8 @@
            frameAdd.AddChidren(btnAdd, ChidrenBindMode.BindEventOnly);
            frameAdd.ButtonClickEvent += (sender, e) =>
            {
                //关闭自身
                this.CloseForm();
                //关闭列表界面
                this.CloseFormByFormName("WiredGatewayListForm");
                //让它退到菜单选择界面
                UserCenterLogic.CloseAllOpenForm("NewGateWayMenuSelectForm");
            };
            //返回主页
@@ -90,13 +89,8 @@
            bodyFrameLayout.AddChidren(btnGoback);
            btnGoback.ButtonClickEvent += (sender, e) =>
            {
                //关闭自身
                this.CloseForm();
                //关闭列表界面
                this.CloseFormByFormName("WiredGatewayListForm");
                //关闭菜单选择界面
                this.CloseFormByFormName("NewGateWayMenuSelectForm");
                //让它退到主页
                UserCenterLogic.CloseAllOpenForm();
            };
        }