wxr
2023-09-05 1de638833e4b07b5e6c272cf5c8474b5c92ce42f
OnPro/HDL_ON/UI/MainPage.cs
@@ -19,6 +19,7 @@
        /// BasePageView
        /// </summary>
        public static PageLayout BasePageView { get; set; }
        /// <summary>
        /// 用户控制父容器
        /// </summary>
@@ -146,16 +147,21 @@
                //设置语言环境 防止string转 double出现逗号,todouble异常等问题
                System.Globalization.CultureInfo.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("zh-CN");
                BaseView = Application.MainPage;
                Application.MainPage.BackgroundColor = CSS_Color.MainBackgroundColor;
                //Application.MainPage.BackgroundColor = 0xFFFF0000;// CSS_Color.MainBackgroundColor;
                //BaseView = new FrameLayout()
                //BaseView = Application.MainPage;
                Application.MainPage.BackgroundColor = 0xFFF7F7F7;
                //BaseTopButton = new Button()
                //{
                //    Y = Application.GetRealHeight(20),
                //    Width = Application.GetRealWidth(376),
                //    Height = Application.GetRealHeight(667),
                //    Height = Application.GetRealHeight(22),
                //    BackgroundColor = 0xFFF7F7F7,//0xFFCDC4BD,#C3BCB7
                //};
                //Application.MainPage.AddChidren(BaseView);
                //Application.MainPage.AddChidren(BaseTopButton);
                //Application.MainPage.BackgroundColor = 0xFFFF0000;// CSS_Color.MainBackgroundColor;
                BaseView = new FrameLayout()
                {
                    Width = Application.GetRealWidth(376),
                    Height = Application.GetRealHeight(667),
                };
                Application.MainPage.AddChidren(BaseView);
                Language.UpdateLanguage();
                //#region 测试
                //var ddd = new UI.test.TestDialog();