From 2109463fab2eb1caed189e4f258e0e763c5cea7b Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 07 十一月 2019 11:58:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorDoorWindowDirectionForm.cs |   40 +++-------------------------------------
 1 files changed, 3 insertions(+), 37 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorDoorWindowDirectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorDoorWindowDirectionForm.cs
index 381f201..cd71d66 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorDoorWindowDirectionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorDoorWindowDirectionForm.cs
@@ -7,7 +7,7 @@
     /// <summary>
     /// 闂ㄧ獥浼犳劅鍣ㄧ殑娣诲姞姝ラ鐣岄潰
     /// </summary>
-    public class SensorDoorWindowDirectionForm : EditorCommonForm
+    public class SensorDoorWindowDirectionForm : DirectionCommonForm
     {
         #region 鈻� 鍒濆鍖朹____________________________
 
@@ -28,9 +28,6 @@
         /// </summary>
         private void InitMiddleFrame()
         {
-            //娓呯┖bodyFrame
-            this.ClearBodyFrame();
-
             //鍥剧墖
             var framePic = new FrameLayout();
             framePic.Width = Application.GetMinRealAverage(877);
@@ -63,8 +60,8 @@
             string textMsg1 = textMsg.Substring(0, index);
             string textMsg2 = textMsg.Substring(index, textMsg.Length - index);
 
-            var btnSecond1 = new NormalViewControl(Application.GetMinRealAverage(120), Application.GetMinRealAverage(45), false);
-            btnSecond1.X = Application.GetMinRealAverage(242);
+            var btnSecond1 = new NormalViewControl(Application.GetMinRealAverage(150), Application.GetMinRealAverage(45), false);
+            btnSecond1.X = Application.GetMinRealAverage(235);
             btnSecond1.Y = Application.GetMinRealAverage(214);
             btnSecond1.TextColor = UserCenterColor.Current.TextGrayColor3;
             btnSecond1.TextAlignment = TextAlignment.Center;
@@ -99,37 +96,6 @@
             msg2.TextColor = UserCenterColor.Current.TextGrayColor3;
             msg2.TextAlignment = TextAlignment.Center;
             bodyFrameLayout.AddChidren(msg2);
-
-            //鏌ョ湅甯姪
-            var btnHelp = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(50), false);
-            btnHelp.Y = Application.GetRealHeight(1388);
-            btnHelp.TextSize = 12;
-            btnHelp.TextAlignment = TextAlignment.Center;
-            btnHelp.TextColor = UserCenterColor.Current.TextOrangeColor;
-            btnHelp.Text = Language.StringByID(R.MyInternationalizationString.uSearchHelp);
-            btnHelp.ButtonClickEvent += (sender, e) =>
-            {
-                var form = new DeviceDirectionHelpForm();
-                form.AddForm(string.Empty);
-            };
-            bodyFrameLayout.AddChidren(btnHelp);
-            //搴曠嚎
-            int lineWidth = btnHelp.GetRealWidthByText(12);
-            var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
-            btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
-            btnLine.Gravity = Gravity.CenterHorizontal;
-            btnLine.Y = btnHelp.Bottom - Application.GetRealHeight(8);
-            bodyFrameLayout.AddChidren(btnLine);
-
-            //涓嬩竴姝�
-            var btnNext = new BottomClickButton();
-            btnNext.TextID = R.MyInternationalizationString.uNextway;
-            bodyFrameLayout.AddChidren(btnNext);
-            btnNext.ButtonClickEvent += (sender, e) =>
-            {
-                var form = new Device.DeviceSearchForm();
-                form.AddForm(this.FormID);
-            };
         }
 
         #endregion

--
Gitblit v1.8.0