| | |
| | | TextID = StringId.AudioSetup, |
| | | }; |
| | | audioSetupView.AddChidren(btnAudioSetupText); |
| | | btnAudioSetupText.MouseUpEventHandler = (sender, e) => { |
| | | var page = new VideoDoorlockAudioSetupPage(function); |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | |
| | | }; |
| | | #endregion |
| | | |
| | | #region 电池管理 |
| | |
| | | TextID = StringId.BatteryManagement, |
| | | }; |
| | | batteryManagementView.AddChidren(btnBatteryManagementText); |
| | | btnBatteryManagementText.MouseUpEventHandler = (sender, e) => { |
| | | var page = new VideoDoorlockBatteryManagementPage(); |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | |
| | | |
| | | #endregion |
| | |
| | | serialView.AddChidren(serialTextBtn); |
| | | var serialValuesBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(86), |
| | | X = Application.GetRealWidth(106), |
| | | Width = Application.GetRealWidth(237), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | |
| | | modelView.AddChidren(modelTextBtn); |
| | | var modelValuesBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(86), |
| | | X = Application.GetRealWidth(106), |
| | | Width = Application.GetRealWidth(237), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |