From 9ef48d7b2da7c408b53f73be0f6eef3cbac1c84a Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 19 十一月 2020 10:23:45 +0800
Subject: [PATCH] Evoyo.Home1.1.0120111601_Release

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs |   20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs
index 3ba4da1..7126c4d 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>
@@ -59,6 +51,8 @@
         {
             this.chidrenYaxis = i_ChidrenYaxis;
 
+            //缃┖搴曞眰鐨勪簨浠�
+            this.MouseUpEventHandler = null;
             this.MouseUpEventHandler += ChildrenUpEvent;
             this.MouseDownEventHandler += ChildrenDownEvent;
         }
@@ -186,7 +180,7 @@
         /// </summary>
         /// <param name="view">瀛愭帶浠�</param>
         /// <param name="chidrenBindMode">缁戝畾妯″紡</param>
-        public void AddChidren(View view, ChidrenBindMode chidrenBindMode = ChidrenBindMode.BindAll)
+        public void AddChidren(View view, ChidrenBindMode chidrenBindMode = ChidrenBindMode.BindEvent)
         {
             this.oldBackColor = this.BackgroundColor;
 
@@ -310,7 +304,7 @@
             HdlThreadLogic.Current.RunThread(() =>
             {
                 System.Threading.Thread.Sleep(waiTime);
-                Application.RunOnMainThread(() =>
+                HdlThreadLogic.Current.RunMain(() =>
                 {
                     //璁剧疆涓嶉�夋嫨鐘舵��
                     this.SetClickNotSelectStatu();
@@ -332,7 +326,6 @@
         /// </summary>
         public override void RemoveFromParent()
         {
-            this.ButtonClickEvent = null;
             this.SelectStatuEvent = null;
 
             base.RemoveFromParent();
@@ -341,11 +334,6 @@
         #endregion
 
         #region 鈻� Log鍑哄姏____________________________
-
-        /// <summary>
-        /// 璇ユ帶浠舵墍灞炵殑鐣岄潰鍚嶅瓧
-        /// </summary>
-        private string formName = null;
 
         /// <summary>
         /// Log鍑哄姏

--
Gitblit v1.8.0