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/GuideForm2.cs | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideForm2.cs b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideForm2.cs new file mode 100755 index 0000000..278d0dd --- /dev/null +++ b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideForm2.cs @@ -0,0 +1,64 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Text; + +namespace Shared.Phone.UserCenter.Guide +{ + /// <summary> + /// 寮曞鐣岄潰2 + /// </summary> + public class GuideForm2 : GuideCommonForm + { + #region 鈻� 鍒濆鍖朹____________________________ + + /// <summary> + /// 鏄剧ず鐣岄潰 + /// </summary> + public override void ShowFrom() + { + base.ShowFrom(); + + //钂欎笂闃村奖 + var frameBack = new FrameLayout(); + frameBack.BackgroundColor = 0xad000000; + this.AddChidren(frameBack); + + //涓�涓櫧鑹茬殑妗嗘 + this.contrSwitch.BringToFront(); + contrSwitch.Height += Application.GetRealWidth(23 * 2); + contrSwitch.Width += Application.GetRealWidth(23 * 2); + contrSwitch.Gravity = Gravity.CenterHorizontal; + contrSwitch.BorderWidth = (uint)Application.GetRealWidth(23); + contrSwitch.BorderColor = UserCenterColor.Current.White; + contrSwitch.Radius = (uint)contrSwitch.Height / 2; + this.btnScene.Gravity = Gravity.CenterVertical; + this.btnFunction.Gravity = Gravity.CenterVertical; + + //铏氱嚎绠ご + var btnArrows = new PicViewControl(51, 171); + btnArrows.UnSelectedImagePath = "Guide/Arrows1.png"; + btnArrows.X = Application.GetRealWidth(625); + btnArrows.Y = contrSwitch.Bottom + Application.GetRealHeight(35); + frameBack.AddChidren(btnArrows); + + //鎴块棿鐨勫唴瀹瑰湪姝ゅ鏄剧ず + var btnMsg = new NormalViewControl(frameBack.Width, Application.GetRealHeight(75), false); + btnMsg.TextAlignment = TextAlignment.Center; + btnMsg.TextColor = UserCenterColor.Current.White; + btnMsg.TextSize = 18; + btnMsg.TextID = R.MyInternationalizationString.uTheContentsOfTheRoomAreShownHere; + btnMsg.Y = btnArrows.Bottom; + frameBack.AddChidren(btnMsg); + + //鎴戠煡閬撲簡 + var btnKnwon = this.AddIKnwonButton(); + btnKnwon.ButtonClickEvent += (sender, e) => + { + Phone.MainPage.LeftListRoomViewFrom.Instance.CanClick = true; + this.RemoveFromParent(); + }; + } + + #endregion + } +} -- Gitblit v1.8.0