陈嘉乐
2020-07-10 48ba446936b51fffafa7c3600c0dadc6ac0e8c20
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs
@@ -79,6 +79,10 @@
        {
            m_value += value;
            int value2 = (int)((m_value / Max) * 100);
            if (value2 > 100)
            {
                value2 = 100;
            }
            SetValue(value2.ToString() + "%");
        }
@@ -92,6 +96,10 @@
        {
            m_value += value;
            int value2 = (int)((m_value / Max) * 100);
            if (value2 > 100)
            {
                value2 = 100;
            }
            SetValue(value2.ToString() + "% " + text);
        }