| | |
| | | { |
| | | public AddInputType() |
| | | { |
| | | Tag = "Logic"; |
| | | } |
| | | public void Show() |
| | | { |
| | | |
| | | LogicView.TopView topView = new LogicView.TopView(); |
| | | this.AddChidren(topView.TopFLayoutView()); |
| | | this.AddChidren(topView.FLayoutView()); |
| | | topView.clickBackBtn.MouseUpEventHandler += (e, sen) => |
| | | { |
| | | RemoveFromParent(); |
| | |
| | | this.AddChidren(viewLayout); |
| | | #region 时间 功能 |
| | | //时间 |
| | | LogicView.SelectType timeView = new LogicView.SelectType(); |
| | | LogicView.SelectTypeView timeView = new LogicView.SelectTypeView(); |
| | | timeView.btnText.TextID = StringId.time; |
| | | timeView.btnIcon.UnSelectedImagePath = "LogicIcon/timeicon.png"; |
| | | viewLayout.AddChidren(timeView.FLayoutView()); |
| | | |
| | | //功能 |
| | | LogicView.SelectType functionView = new LogicView.SelectType(); |
| | | LogicView.SelectTypeView functionView = new LogicView.SelectTypeView(); |
| | | functionView.frameLayout.Y = timeView.frameLayout.Bottom; |
| | | functionView.btnText.TextID = StringId.time; |
| | | functionView.btnIcon.UnSelectedImagePath = "LogicIcon/functionicon.png"; |