lss
2020-06-12 9c16d3614d9b88c637f967518a329f239fcd3aaf
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
@@ -1,16 +1,16 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone.UserCenter
{
using System;
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone.UserCenter
{
    /// <summary>
    /// 做成一个显示图标的控件(需要手动开启点击状态)
    /// </summary>
    public class IconViewControl : IconControlCommon
    {
        /// <summary>
        /// 图标大小
        /// <summary>
        /// 图标大小
        /// </summary>
        public int IconSize = 0;
        /// <summary>
@@ -20,12 +20,12 @@
        /// <param name="real">是否计算真实值</param>
        public IconViewControl(int size = 110, bool real = true)
        {
            this.InitAvgSize(size, size, real);
            this.InitIconSize(size, size, real);
            this.IconSize = size;
            if (real == true)
            {
                this.IconSize = Application.GetMinRealAverage(size);
            if (real == true)
            {
                this.IconSize = this.GetPictrueRealSize(size);
            }
        }
    }
}
    }
}