From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +0800 Subject: [PATCH] 代码备份 --- OnPro/HDL_ON/UI/UI0-Public/TopViewDiv.cs | 37 +++++++++++++++---------------------- 1 files changed, 15 insertions(+), 22 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/OnPro/HDL_ON/UI/UI0-Public/TopViewDiv.cs index 572cffe..79558dd 100644 --- a/OnPro/HDL_ON/UI/UI0-Public/TopViewDiv.cs +++ b/OnPro/HDL_ON/UI/UI0-Public/TopViewDiv.cs @@ -84,7 +84,7 @@ { contentView = new FrameLayout() { - Height = Application.GetRealHeight(64), + Height = Application.GetRealHeight(74), BackgroundColor = color, }; baseView.AddChidren(contentView); @@ -92,7 +92,7 @@ Button btnBackIcon = new Button() { X = Application.GetRealWidth(10), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetRealWidth(40), Height = Application.GetRealWidth(28), UnSelectedImagePath = "Public/BackIcon.png", @@ -102,7 +102,7 @@ btnTilte = new Button() { Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(30), + Y = Application.GetRealHeight(40), Width = Application.GetRealWidth(270), Height = Application.GetRealHeight(25), TextAlignment = TextAlignment.Center, @@ -172,7 +172,7 @@ var btnSetting = new Button() { X = Application.GetRealWidth(337-37), - Y = Application.GetRealHeight(20), + Y = Application.GetRealHeight(30), Width = Application.GetMinRealAverage(28+37), Height = Application.GetMinRealAverage(28+19), TextID = StringId.CombinedDimming, @@ -205,7 +205,7 @@ var btnSetting = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(28), + Y = Application.GetRealHeight(38), Width = Application.GetMinRealAverage(32), Height = Application.GetMinRealAverage(32), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", @@ -239,7 +239,7 @@ var btnSetting = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", @@ -270,7 +270,7 @@ var btnSetting = new Button() { X = Application.GetRealWidth(355-100), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(100), Height = Application.GetMinRealAverage(28), TextColor = isDelColor ?CSS_Color.WarningColor: CSS_Color.MainColor, @@ -298,7 +298,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/AddIcon.png", @@ -349,20 +349,13 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/LinkIotIcon.png", }; contentView.AddChidren(btnAddIcon); - btnAddIcon.MouseUpEventHandler += (sender, e) => - { - var page = new Iot_BrandListPage(); - MainPage.BasePageView.AddChidren(page); - page.LoadPage(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - }; } @@ -376,7 +369,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/Iot_agreement_icon.png", @@ -401,7 +394,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/AddIcon.png", @@ -442,7 +435,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/AddIcon.png", @@ -465,7 +458,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(352-100), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(100), Height = Application.GetMinRealAverage(28), TextID = StringId.WithdrawalConsent, @@ -492,7 +485,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/AddIcon.png", @@ -515,7 +508,7 @@ var btnAddIcon = new Button() { X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), + Y = Application.GetRealHeight(39), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "FunctionIcon/ArmCenter/HistoryIcon.png", -- Gitblit v1.8.0