黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WiredGatewayDirectionForm.cs
@@ -33,7 +33,7 @@
            btnimage.UnSelectedImagePath = "Gateway/WiredGatewayInstruct.png";
            bodyFrameLayout.AddChidren(btnimage);
            //请确保网关与网线连接{0}系统灯每秒闪烁一次
            //请确保网关用网线正常连接路由器{0}正常连接则系统指示灯1秒闪烁
            string[] strMsg = Language.StringByID(R.MyInternationalizationString.ConfirmLineConnectMsg).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries);
            var btnMsg1 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false);
            btnMsg1.TextColor = UserCenterColor.Current.TextGrayColor3;
@@ -43,7 +43,7 @@
            bodyFrameLayout.AddChidren(btnMsg1);
            if (strMsg.Length > 1)
            {
                var btnMsg2= new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false);
                var btnMsg2 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false);
                btnMsg2.TextColor = UserCenterColor.Current.TextGrayColor3;
                btnMsg2.TextAlignment = TextAlignment.Center;
                btnMsg2.Text = strMsg[1];
@@ -60,13 +60,13 @@
            btnHelp.Text = Language.StringByID(R.MyInternationalizationString.uSearchHelp);
            btnHelp.ButtonClickEvent += (sender, e) =>
            {
                var form = new DeviceDirection.DeviceDirectionHelpForm();
                form.AddForm("Gateway");
                var form = new AddGatewayHelpForm();
                form.AddForm("Wired");
            };
            bodyFrameLayout.AddChidren(btnHelp);
            //底线
            int lineWidth = btnHelp.GetRealWidthByText(12);
            var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
            int lineWidth = btnHelp.GetRealWidthByText();
            var btnLine = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false);
            btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
            btnLine.Gravity = Gravity.CenterHorizontal;
            btnLine.Y = btnHelp.Bottom - Application.GetRealHeight(8);
@@ -80,7 +80,7 @@
            btnNext.MouseUpEventHandler += (sender, e) =>
            {
                var form = new WiredGatewaySearchForm();
                this.AddFromAndRemoveNowForm(form);
                this.AddFormAndCloseNowForm(form);
            };
        }
    }