From 5eec2e8c16bdcb163b388de486ee375e891df445 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 25 二月 2021 17:54:15 +0800
Subject: [PATCH] 2021-2-25-1

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/ReplicationView.cs |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/ReplicationView.cs
similarity index 83%
rename from HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
rename to HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/ReplicationView.cs
index e8ff3d9..20accf8 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/ReplicationView.cs
@@ -3,25 +3,25 @@
 using Shared;
 using System.Collections.Generic;
 using System.Text;
-namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice.View
+namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice
 {
-    public class ReplicationView
+    public class ReplicationView : FrameLayout
     {
-        public Dialog dialog = new Dialog()
+        public ReplicationView()
         {
-            BackgroundColor = CSS.CSS_Color.viewMiddle,
-        };
-        public void GuideShow()
+        }
+        public void Show()
         {
+
             #region 鐣岄潰甯冨眬
             PirDevice.View.TopView topView = new View.TopView();
             topView.topNameBtn.TextID = StringId.fuzhiyaokonggongnneg;
-            dialog.AddChidren(topView.FLayoutView());
-            topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { dialog.Close(); };
+            this.AddChidren(topView.FLayoutView());
+            topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { this.RemoveFromParent(); };
             FrameLayout frameLayout = new FrameLayout();
             frameLayout.Height = Application.GetRealHeight(667 - 64);
             frameLayout.Y = Application.GetRealHeight(64);
-            dialog.AddChidren(frameLayout);
+            this.AddChidren(frameLayout);
             var textBtn = new Button
             {
                 Y = Application.GetRealHeight(24),
@@ -53,14 +53,10 @@
                 UnSelectedImagePath = "PirIcon/icon2.png",
             };
             frameLayout.AddChidren(icon2Btn);
-            dialog.Show();
             #endregion
 
-
-
-
-
         }
+
       
     }
 }

--
Gitblit v1.8.0