From 6fe1c5ebeb8312edc479a4576f05d80c5051a6c6 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 19 七月 2023 19:47:00 +0800
Subject: [PATCH] 炫彩功能优化
---
HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs
index 868b44f..2055a86 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs
@@ -239,7 +239,8 @@
this.CalculatedPosition();//閲嶆柊璁$畻瀹藉害
- var btnDoorlockStatus = new Button()
+ Button btnDoorlockStatus;
+ btnDoorlockStatus = new Button()
{
Width = Application.GetRealWidth(200),
Height = Application.GetRealHeight(62),
@@ -251,7 +252,7 @@
TextSize = 16,
};
whiteFl.AddChidren(btnDoorlockStatus);
-
+
int heightY = btnDoorLockIcon.Bottom + Application.GetRealHeight(133);
//瀹炴椂瑙嗛
rtvFL = new CustomFrameLayout(CustomFrameLayout.widthFrameLayout, CustomFrameLayout.heightFrameLayout);
@@ -294,6 +295,10 @@
userManagerView.GetTextButton().TextID = StringId.UserManagement;
userManagerView.SetClickListener((fl, btnImage, btnText) => {
+ var page = new VideoDoorlockUserListPage(device);
+ MainPage.BasePageView.AddChidren(page);
+ page.LoadPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
});
--
Gitblit v1.8.0