wxr
2024-08-06 c2cae389c932a9ab2c03d67d0276376655f26343
HDL_ON/UI/UI2/FuntionControlView/Music/View/TopView.cs
@@ -1,4 +1,5 @@
using 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),
@@ -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