From c2cae389c932a9ab2c03d67d0276376655f26343 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 06 八月 2024 14:17:04 +0800
Subject: [PATCH] OnPro(安卓/IOS)可视对讲 TCP UDP连接选择 ;自动切换服务器

---
 HDL_ON/UI/UI0-Public/TopViewDiv.cs |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/HDL_ON/UI/UI0-Public/TopViewDiv.cs
index 0bf2eb4..78a3258 100644
--- a/HDL_ON/UI/UI0-Public/TopViewDiv.cs
+++ b/HDL_ON/UI/UI0-Public/TopViewDiv.cs
@@ -228,6 +228,29 @@
             };
         }
 
+        public void LoadTopView_Linphone()
+        {
+            LoadTopView();
+
+            var btnSetting = new Button()
+            {
+                X = Application.GetRealWidth(337),
+                Y = Application.GetRealHeight(28 + maginY),
+                Width = Application.GetMinRealAverage(32),
+                Height = Application.GetMinRealAverage(32),
+                UnSelectedImagePath = "Public/FuncInfoSetIcon.png",
+            };
+            contentView.AddChidren(btnSetting);
+
+            btnSetting.MouseUpEventHandler = (sender, e) =>
+            {
+                var infoView = new FunctionBaseInfoSetPage();
+                MainPage.BasePageView.AddChidren(infoView);
+                infoView.LoadPage();
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
+        }
+
 
 
         /// <summary>

--
Gitblit v1.8.0