From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。

---
 ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideRoomForm.cs |   77 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideRoomForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideRoomForm.cs
new file mode 100755
index 0000000..cd7275a
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideRoomForm.cs
@@ -0,0 +1,77 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter.Guide
+{
+    /// <summary>
+    /// 鎴块棿寮曞鐣岄潰
+    /// </summary>
+    public class GuideRoomForm : GuideCommonForm
+    {
+        #region 鈻� 鍙橀噺澹版槑___________________________
+
+        #endregion
+
+        #region 鈻� 鍒濆鍖朹____________________________
+
+        /// <summary>
+        /// 鏄剧ず鐣岄潰
+        /// </summary>
+        public override void ShowFrom()
+        {
+            base.ShowFrom();
+
+            var frameTop = new FrameLayout();
+            frameTop.Height = Application.GetRealHeight(279);
+            frameTop.BackgroundColor = 0xad000000;
+            this.AddChidren(frameTop);
+
+            //钂欎笂闃村奖
+            var frameBottom = new FrameLayout();
+            frameBottom.Y = Application.GetRealHeight(803);
+            frameBottom.Height = Application.GetRealHeight(1317);//灏辨槸瑕侀暱杩囧畠
+            frameBottom.BackgroundColor = 0xad000000;
+            this.AddChidren(frameBottom);
+            //宸︾澶�
+            var btnLeftIcon = new IconViewControl(72);
+            btnLeftIcon.UnSelectedImagePath = "Guide/LeftIcon.png";
+            btnLeftIcon.X = Application.GetRealWidth(17);
+            btnLeftIcon.Y = Application.GetRealHeight(176);
+            frameBottom.AddChidren(btnLeftIcon);
+            //鍙崇澶�
+            var btnRightIcon = new IconViewControl(72);
+            btnRightIcon.UnSelectedImagePath = "Guide/RightIcon.png";
+            btnRightIcon.X = Application.GetRealWidth(994);
+            btnRightIcon.Y = Application.GetRealHeight(176);
+            frameBottom.AddChidren(btnRightIcon);
+
+            //宸﹀彸婊戝姩锛屽垏鎹㈡埧闂村崱鐗�
+            var btnCard = new NormalViewControl(650, 75, true);
+            btnCard.Y = Application.GetRealHeight(175);
+            btnCard.TextID = R.MyInternationalizationString.uSlideLeftAndRightToSwitchRoomCards;
+            btnCard.TextColor = UserCenterColor.Current.White;
+            btnCard.TextAlignment = TextAlignment.Center;
+            btnCard.TextSize = 18;
+            btnCard.IsBold = true;
+            btnCard.Gravity = Gravity.CenterHorizontal;
+            frameBottom.AddChidren(btnCard);
+            //铏氱嚎绠ご
+            var btnArrows = new PicViewControl(51, 171);
+            btnArrows.UnSelectedImagePath = "Guide/Arrows1.png";
+            btnArrows.X = Application.GetRealWidth(625);
+            frameBottom.AddChidren(btnArrows);
+
+            //鎴戠煡閬撲簡
+            var btnKnwon = this.AddIKnwonButton();
+            btnKnwon.ButtonClickEvent += (sender, e) =>
+            {
+                this.RemoveFromParent();
+                var form = new GuideForm1();
+                form.ShowFrom();
+            };
+        }
+
+        #endregion
+    }
+}

--
Gitblit v1.8.0