From 22a724344cb747b8a6827e069d1857de59d2d970 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 12 九月 2024 20:26:39 +0800
Subject: [PATCH] Update ClassificationPageBLL.cs
---
HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs
index 7bc13d0..d219541 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs
@@ -1,4 +1,5 @@
锘縰sing System;
+using System.Drawing.Printing;
using HDL_ON.UI.Music;
using Shared;
@@ -12,6 +13,7 @@
/// </summary>
public FrameLayout fLayout = new FrameLayout
{
+ Y = Application.GetRealHeight(10),
BackgroundColor = MusicColor.TopViewColor,
Height = Application.GetRealHeight(64),
Width=Application.GetRealWidth(375),
@@ -55,8 +57,8 @@
{
Y = Application.GetRealHeight(29),
X = Application.GetRealWidth(337),
- Width = Application.GetRealWidth(28),
- Height = Application.GetRealWidth(28),
+ Width = Application.GetMinRealAverage(28),
+ Height = Application.GetMinRealAverage(28),
UnSelectedImagePath = "MusicIcon/set.png",
Visible=false,
};
@@ -90,6 +92,26 @@
fLayout.AddChidren(setBtn);
fLayout.AddChidren(clickBackBtn);
fLayout.AddChidren(clickSetBtn);
+
+
+ var btnSetting = new Button()
+ {
+ X = Application.GetRealWidth(337),
+ Y = Application.GetRealHeight(28),
+ Width = Application.GetMinRealAverage(32),
+ Height = Application.GetMinRealAverage(32),
+ UnSelectedImagePath = "Public/FuncInfoSetIcon.png",
+ };
+ fLayout.AddChidren(btnSetting);
+
+ btnSetting.MouseUpEventHandler = (sender, e) =>
+ {
+ var infoView = new FunctionBaseInfoSetPage();
+ MainPage.BasePageView.AddChidren(infoView);
+ infoView.LoadPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+
return fLayout;
}
#endregion
--
Gitblit v1.8.0