| | |
| | | #endregion |
| | | |
| | | residenceFunctionCount++; |
| | | #region ---人脸管理 |
| | | #region ---组合调光 |
| | | var faceManagementView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(28 - 24), |
| | |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.FaceManagemant, |
| | | TextID = StringId.CombinedDimming, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | #endregion |
| | | |
| | | EventHandler<MouseEventArgs> eventHandler = (sender, e) => { |
| | | |
| | | var page = new CombinedDimmingListPage(); |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | |
| | | faceManagementView.MouseUpEventHandler = eventHandler; |
| | | btnFaceManagementText.MouseUpEventHandler = eventHandler; |
| | | btnFaceManagementIcon.MouseUpEventHandler = eventHandler; |
| | | } |
| | | } |
| | | else |