From 0bf9e65bc3ba98391e7835c922b15baab3c77876 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 01 六月 2020 14:59:39 +0800 Subject: [PATCH] 上传一个合并的版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs index c1b169c..1c9264e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs @@ -12,10 +12,6 @@ #region 鈻� 鍙橀噺澹版槑___________________________ /// <summary> - /// 鍗曞嚮寮硅捣浜嬩欢 - /// </summary> - public Action<object, MouseEventArgs> ButtonClickEvent; - /// <summary> /// 鐘舵�佽缃殑浜嬩欢(浼氶噸杞藉簳灞傛晥鏋�) /// </summary> public Action<bool> SelectStatuEvent; @@ -23,10 +19,6 @@ /// 鏄惁鍚敤鐐逛寒鍔熻兘(榛樿鍚敤) /// </summary> public bool UseClickStatu = true; - /// <summary> - /// 鑳藉惁鐐瑰嚮 - /// </summary> - public bool CanClick = true; /// <summary> /// 鍘熸潵鐨勮儗鏅壊 /// </summary> @@ -54,11 +46,13 @@ /// <summary> /// 鍋氭垚涓�涓偣鍑诲悗鑳藉鏄剧ず鐐瑰嚮鐘舵�佺殑鎺т欢 /// </summary> - /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(鐪熷疄鍊�,鏈変簺鐣岄潰闇�瑕佽繖绉嶇壒娈婃搷浣�)</param> + /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param> public FrameLayoutStatuControl(int i_ChidrenYaxis = 0) { this.chidrenYaxis = i_ChidrenYaxis; + //缃┖搴曞眰鐨勪簨浠� + this.MouseUpEventHandler = null; this.MouseUpEventHandler += ChildrenUpEvent; this.MouseDownEventHandler += ChildrenDownEvent; } @@ -332,7 +326,6 @@ /// </summary> public override void RemoveFromParent() { - this.ButtonClickEvent = null; this.SelectStatuEvent = null; base.RemoveFromParent(); -- Gitblit v1.8.0