From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 22 六月 2022 11:22:18 +0800
Subject: [PATCH] 修改引用路径

---
 ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
index 8fa4707..367fc18 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
@@ -13,6 +13,10 @@
         #region 鈻� 鍙橀噺澹版槑___________________________
 
         /// <summary>
+        /// 娣诲姞鑱旂郴鏂瑰紡鐨勪簨浠�
+        /// </summary>
+        public Action AddPhoneEvent = null;
+        /// <summary>
         /// 淇℃伅鎻愮ず鎺т欢
         /// </summary>
         private NormalViewControl btnErrorMsg = null;
@@ -61,6 +65,13 @@
 
             //鍒濆鍖栦腑閮ㄤ俊鎭�
             this.InitMiddleFrame();
+
+            //閲嶅啓搴曞眰杩斿洖鎸夐敭浜嬩欢
+            this.BackButtonClickEvent = (sender) =>
+            {
+                this.AddPhoneEvent = null;
+                this.CloseForm();
+            };
         }
 
         /// <summary>
@@ -186,6 +197,10 @@
                 return;
             }
             this.CloseForm();
+
+            //璋冪敤鍥炶皟鍑芥暟
+            this.AddPhoneEvent?.Invoke();
+            this.AddPhoneEvent = null;
         }
 
         #endregion

--
Gitblit v1.8.0