From 987933326b9620e29f7c4acac808ec3b8d958642 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 19 七月 2023 10:41:47 +0800 Subject: [PATCH] 2023年07月19日10:41:42 --- HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs index e9a06e2..8b146ad 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs @@ -314,6 +314,13 @@ 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 鐢垫睜绠$悊 @@ -351,6 +358,12 @@ 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 @@ -383,7 +396,7 @@ 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, @@ -421,7 +434,7 @@ 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, -- Gitblit v1.8.0