From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 17 十二月 2020 09:07:13 +0800 Subject: [PATCH] 新云端Ver1.3 --- ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs index c30fa40..00600f3 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs @@ -15,27 +15,25 @@ public void Show (string titlename) { - var weeklist = new List<string> (); - #region 涓婇潰鐨勫竷灞�浠g爜 + #region 鐣岄潰鐨勫竷灞�浠g爜 TopView view = new TopView(); this.AddChidren(view.TopRowView()); view.toptitleNameBtn.Text=titlename; view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); }; - #endregion - var middle = new VerticalScrolViewLayout { Y = view.topRowLayout.Bottom, - Height = Application.GetRealHeight(1920 - 184-260), + Height = Application.GetRealHeight(Method.H - 184-260), BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, }; this.AddChidren(middle); - LogicView.SaveView saveView = new LogicView.SaveView(); saveView.frameLayout.Y = middle.Bottom; this.AddChidren(saveView.Show()); + #endregion + var weeklist = new List<string>(); if (Common.Logic.CurrentLogic.TimeAttribute.Repeat == 5) { string len = ""; @@ -83,7 +81,6 @@ } } } - var cyclelist = new List<string> (); cyclelist.AddRange (new string [] { Language.StringByID(MyInternationalizationString.mon), @@ -138,8 +135,6 @@ }; } - - saveView.clickviewBtn.MouseUpEventHandler += (sender, e) => { @@ -177,7 +172,7 @@ } if (weekvalue == 0) { - var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal, + var alert = new ShowMsgControl(ShowMsgType.Normal, Language.StringByID(MyInternationalizationString.selectweek), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); -- Gitblit v1.8.0