From 18b93d511dc764b469d7c4a7e755f7274f89cdb4 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 27 四月 2020 17:55:14 +0800 Subject: [PATCH] 2020-4-27-1 --- 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..0db4b27 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