From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 22 六月 2022 11:22:18 +0800
Subject: [PATCH] 修改引用路径

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Common/ClickButtonCommon.cs |  216 +++++++++++++++++++++++++++---------------------------
 1 files changed, 108 insertions(+), 108 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Common/ClickButtonCommon.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Common/ClickButtonCommon.cs
old mode 100755
new mode 100644
index 514060f..5ff8412
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Common/ClickButtonCommon.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Common/ClickButtonCommon.cs
@@ -1,113 +1,113 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Shared.Phone.UserCenter
-{
-    /// <summary>
-    /// 鐐瑰嚮鎸夐挳绫荤殑鍏遍��
-    /// </summary>
-    public class ClickButtonCommon : ButtonBase
-    {
-        #region 鈻� 鍙橀噺澹版槑___________________________
-
-        /// <summary>
-        /// 鏄惁鍚敤鐐逛寒鍔熻兘(榛樿鍚敤)
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+    /// <summary>
+    /// 鐐瑰嚮鎸夐挳绫荤殑鍏遍��
+    /// </summary>
+    public class ClickButtonCommon : ButtonBase
+    {
+        #region 鈻� 鍙橀噺澹版槑___________________________
+
+        /// <summary>
+        /// 鏄惁鍚敤鐐逛寒鍔熻兘(榛樿鍚敤)
         /// </summary>
-        public bool UseClickStatu = true;
-        /// <summary>
-        /// 鍘熸潵鐨勮儗鏅壊(杩笉寰楀繁,杩欎釜涓滆タ闇�瑕佸紑鏀惧嚭鍘�,璁剧疆涓�娆′箣鍚庡皢涓嶄細鍐嶈缃�)
+        public bool UseClickStatu = true;
+        /// <summary>
+        /// 鍘熸潵鐨勮儗鏅壊(杩笉寰楀繁,杩欎釜涓滆タ闇�瑕佸紑鏀惧嚭鍘�,璁剧疆涓�娆′箣鍚庡皢涓嶄細鍐嶈缃�)
         /// </summary>
-        public uint oldBackgroundColor = 0;
-        /// <summary>
-        /// 鐐瑰嚮鐘舵�佺殑鑳屾櫙鑹�(杩笉寰楀繁,杩欎釜涓滆タ闇�瑕佸紑鏀惧嚭鍘�,榛樿浣跨敤搴曞眰璁剧疆鐨�)
-        /// </summary>
-        public uint clickStatuColor = UserCenterColor.Current.ButtonClickStatuColor;
-        /// <summary>
-        /// 鏄惁澶勪簬閫夋嫨鐘舵��
-        /// </summary>
-        private bool isSelcetStatu = false;
-
-        #endregion
-
-        #region 鈻� 鍒濆鍖朹____________________________
-
-        /// <summary>
-        /// 鍗曞嚮鎸夐挳绫荤殑鍏遍��(鍒濆鍊硷細鎷ユ湁鐐逛寒鍔熻兘锛岀櫧鑹插瓧浣擄紝榛戣壊鑳屾櫙锛屾枃瀛楀眳涓�)
-        /// </summary>
-        public ClickButtonCommon()
-        {
+        public uint oldBackgroundColor = 0;
+        /// <summary>
+        /// 鐐瑰嚮鐘舵�佺殑鑳屾櫙鑹�(杩笉寰楀繁,杩欎釜涓滆タ闇�瑕佸紑鏀惧嚭鍘�,榛樿浣跨敤搴曞眰璁剧疆鐨�)
+        /// </summary>
+        public uint clickStatuColor = UserCenterColor.Current.ButtonClickStatuColor;
+        /// <summary>
+        /// 鏄惁澶勪簬閫夋嫨鐘舵��
+        /// </summary>
+        private bool isSelcetStatu = false;
+
+        #endregion
+
+        #region 鈻� 鍒濆鍖朹____________________________
+
+        /// <summary>
+        /// 鍗曞嚮鎸夐挳绫荤殑鍏遍��(鍒濆鍊硷細鎷ユ湁鐐逛寒鍔熻兘锛岀櫧鑹插瓧浣擄紝榛戣壊鑳屾櫙锛屾枃瀛楀眳涓�)
+        /// </summary>
+        public ClickButtonCommon()
+        {
             this.TextColor = UserCenterColor.Current.White;
             this.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor;
-            this.TextAlignment = TextAlignment.Center;
-
-            this.MouseDownEventHandler += this.Button_MouseDownEvent;
-        }
-
-        #endregion
-
-        #region 鈻� 鎺т欢鐐逛寒鐗规晥_______________________
-
-        /// <summary>
-        /// 鍗曞嚮鎸変笅浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
+            this.TextAlignment = TextAlignment.Center;
+
+            this.ButtonDownClickEvent += this.Button_MouseDownEvent;
+        }
+
+        #endregion
+
+        #region 鈻� 鎺т欢鐐逛寒鐗规晥_______________________
+
+        /// <summary>
+        /// 鍗曞嚮鎸変笅浜嬩欢
+        /// </summary>
+        /// <param name="sender"></param>
         /// <param name="e"></param>
-        private void Button_MouseDownEvent(object sender, MouseEventArgs e)
-        {
-            if (this.UseClickStatu == false)
-            {
-                //姘镐箙绉婚櫎
-                this.MouseDownEventHandler -= this.Button_MouseDownEvent;
-                return;
-            }
-            if (base.CanClick == false || isSelcetStatu == true)
-            {
-                //鎺т欢涓嶈兘鐐瑰嚮,鎴栬�呭綋鍓嶅浜庨�夋嫨鐘舵��,鍒欎笉鑳借Е鍙�
-                return;
-            }
-            if (this.oldBackgroundColor == 0)
-            {
-                this.oldBackgroundColor = this.BackgroundColor;
-            }
-            //璁剧疆鐐瑰嚮鍚庣殑鐘舵��
-            this.SetClickStatu();
-
-            HdlThreadLogic.Current.RunThread(() =>
-            {
-                System.Threading.Thread.Sleep(ControlCommonResourse.StatuChangedWaitTime);
-                Application.RunOnMainThread(() =>
-                {
-                    if (base.CanClick == false || isSelcetStatu == false)
-                    {
-                        //鎺т欢涓嶈兘鐐瑰嚮,鎴栬�呭綋鍓嶅浜庨潪閫夋嫨鐘舵��,鍒欎笉鑳借Е鍙�
-                        return;
-                    }
-                    //璁剧疆闈炵偣鍑诲悗鐨勭姸鎬�
-                    this.SetNotClickStatu();
-                });
-            });
-        }
-
-        /// <summary>
-        /// 璁剧疆鐐瑰嚮鍚庣殑鐘舵��
-        /// </summary>
-        public override void SetClickStatu()
-        {
-            this.isSelcetStatu = true;
-            this.BackgroundColor = clickStatuColor;
-        }
-
-        /// <summary>
-        /// 璁剧疆闈炵偣鍑诲悗鐨勭姸鎬�
-        /// </summary>
-        public override void SetNotClickStatu()
-        {
-            this.isSelcetStatu = false;
-            //璁剧疆涓嶉�夋嫨鐘舵��
-            this.BackgroundColor = oldBackgroundColor;
-        }
-
-        #endregion
-    }
-}
+        private void Button_MouseDownEvent(object sender, MouseEventArgs e)
+        {
+            if (this.UseClickStatu == false)
+            {
+                //姘镐箙绉婚櫎
+                this.ButtonDownClickEvent -= Button_MouseDownEvent;
+                return;
+            }
+            if (base.CanClick == false || isSelcetStatu == true)
+            {
+                //鎺т欢涓嶈兘鐐瑰嚮,鎴栬�呭綋鍓嶅浜庨�夋嫨鐘舵��,鍒欎笉鑳借Е鍙�
+                return;
+            }
+            if (this.oldBackgroundColor == 0)
+            {
+                this.oldBackgroundColor = this.BackgroundColor;
+            }
+            //璁剧疆鐐瑰嚮鍚庣殑鐘舵��
+            this.SetClickStatu();
+
+            HdlThreadLogic.Current.RunThread(() =>
+            {
+                System.Threading.Thread.Sleep(ControlCommonResourse.StatuChangedWaitTime);
+                HdlThreadLogic.Current.RunMain(() =>
+                {
+                    if (base.CanClick == false || isSelcetStatu == false)
+                    {
+                        //鎺т欢涓嶈兘鐐瑰嚮,鎴栬�呭綋鍓嶅浜庨潪閫夋嫨鐘舵��,鍒欎笉鑳借Е鍙�
+                        return;
+                    }
+                    //璁剧疆闈炵偣鍑诲悗鐨勭姸鎬�
+                    this.SetNotClickStatu();
+                });
+            });
+        }
+
+        /// <summary>
+        /// 璁剧疆鐐瑰嚮鍚庣殑鐘舵��
+        /// </summary>
+        public override void SetClickStatu()
+        {
+            this.isSelcetStatu = true;
+            this.BackgroundColor = clickStatuColor;
+        }
+
+        /// <summary>
+        /// 璁剧疆闈炵偣鍑诲悗鐨勭姸鎬�
+        /// </summary>
+        public override void SetNotClickStatu()
+        {
+            this.isSelcetStatu = false;
+            //璁剧疆涓嶉�夋嫨鐘舵��
+            this.BackgroundColor = oldBackgroundColor;
+        }
+
+        #endregion
+    }
+}

--
Gitblit v1.8.0