From 3793a9a38ac6c4c4111c2bba3a35a71c30601e82 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 13 四月 2020 19:38:24 +0800 Subject: [PATCH] 上传个东西 --- ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs b/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs index 92435b1..d0417ce 100755 --- a/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs @@ -15,6 +15,10 @@ #region 鈻� 鍙橀噺澹版槑___________________________ /// <summary> + /// 杩斿洖鎸夐敭鐨勭偣鍑讳簨浠�(濡傛灉瀹炵幇姝や簨浠�,鍒欏簳灞傜殑浜嬩欢灏嗕笉浼氬啀瑙﹀彂) + /// </summary> + public Action<BackViewControl> BackButtonClickEvent = null; + /// <summary> /// TopMenuFrameLayout /// </summary> public FrameLayout topMenuFrameLayout = null; @@ -124,6 +128,12 @@ btnBack.InitControl(); btnBack.ButtonClickEvent += (sender, e) => { + if (this.BackButtonClickEvent != null) + { + //濡傛灉瀹炵幇姝や簨浠�,鍒欏簳灞傜殑浜嬩欢灏嗕笉浼氬啀瑙﹀彂 + BackButtonClickEvent(btnBack); + return; + } //鐢婚潰鍏抽棴 this.CloseForm(); }; @@ -210,6 +220,8 @@ //宸︽粦浣胯兘 this.ScrollEnabled = true; + this.BackButtonClickEvent = null; + this.m_parameter = null; //娓呯┖bodyFrame this.ClearBodyFrame(); -- Gitblit v1.8.0