| | |
| | | |
| | | public void Show (string titlename) |
| | | { |
| | | var weeklist = new List<string> (); |
| | | |
| | | #region 上面的布局代码 |
| | | #region 界面的布局代码 |
| | | 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, |
| | |
| | | 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 = ""; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | var cyclelist = new List<string> (); |
| | | cyclelist.AddRange (new string [] { |
| | | Language.StringByID(MyInternationalizationString.mon), |
| | |
| | | }; |
| | | |
| | | } |
| | | |
| | | |
| | | saveView.clickviewBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | |