From ecba45c93391066bc30c7bd602c3a7683fbb99a7 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 31 七月 2020 10:56:12 +0800
Subject: [PATCH] 临时备份

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SeekBarControl.cs |   23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SeekBarControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SeekBarControl.cs
index eba0af0..1882d5f 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SeekBarControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SeekBarControl.cs
@@ -11,18 +11,7 @@
     {
         #region 鈻� 鍙橀噺澹版槑___________________________
 
-        /// <summary>
-        /// 杩涘害鏉″彲鐢ㄦ椂鐨勮儗鏅壊
-        /// </summary>
-        private uint ProgressBarEnableColor = 0;
-        /// <summary>
-        /// 杩涘害鏉′笉鍙敤鏃剁殑鑳屾櫙鑹�(榛樿鐏拌壊)
-        /// </summary>
-        public uint ProgressBarUnEnableColor = 0xffe8e8e8;
-        /// <summary>
-        /// 褰撳墠鍙敤鐘舵��
-        /// </summary>
-        private bool nowEnable = true;
+        private uint nowProgressBarColor = 0;
         /// <summary>
         /// 鎺т欢鑳藉惁浣跨敤
         /// </summary>
@@ -30,20 +19,16 @@
         {
             set
             {
-                //鐘舵�佹病鏈夋敼鍙�
-                if (nowEnable == value) { return; }
-                nowEnable = value;
-
                 this.IsClickable = value;
                 if (value == true)
                 {
                     //鍘熸潵鐨勯鑹�
-                    base.ProgressBarColor = ProgressBarEnableColor;
+                    base.ProgressBarColor = nowProgressBarColor;
                 }
                 else
                 {
                     //鐏拌壊
-                    base.ProgressBarColor = ProgressBarUnEnableColor;
+                    base.ProgressBarColor = 0xffe8e8e8;
                 }
             }
         }
@@ -55,7 +40,7 @@
         {
             set
             {
-                ProgressBarEnableColor = value;
+                nowProgressBarColor = value;
                 base.ProgressBarColor = value;
             }
         }

--
Gitblit v1.8.0