From c0021397eeb8335d6d1f20990c71533c3d94e7af Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 10 一月 2020 17:02:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into DEV_GXC --- ZigbeeApp/Shared/Phone/Device/CommonForm/LeftIconButtonRow.cs | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/LeftIconButtonRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/LeftIconButtonRow.cs old mode 100755 new mode 100644 index ac65aa1..d0aa42c --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/LeftIconButtonRow.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/LeftIconButtonRow.cs @@ -17,6 +17,10 @@ /// 涓嬪垝绾� /// </summary> public FrameLayout Line; + /// <summary> + /// 鐐瑰嚮浜嬩欢 + /// </summary> + public Action<LeftIconButtonRow, MouseEventArgs> ButtonClickEvent; /// <summary> /// 鐐瑰嚮浜嬩欢 /// </summary> @@ -158,23 +162,23 @@ } #endregion - #region 鈼� 鐐瑰嚮浜嬩欢_________________________ + #region 鈼� 鐐瑰嚮浜嬩欢_________________________ - /// <summary> - /// 鐐瑰嚮浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void Button_MouseUpEventHandler(object sender, MouseEventArgs e) - { + /// <summary> + /// 鐐瑰嚮浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Button_MouseUpEventHandler(object sender, MouseEventArgs e) + { try { this.ButtonClickEvent?.Invoke(this, e); } catch (Exception ex) { - } - } + } + } #endregion } } -- Gitblit v1.8.0