using System; using System.Collections.Generic; using System.Text; namespace Shared.Phone { /// /// 做成一个显示图标的控件(需要手动开启点击状态) /// public class IconViewControl : IconControlCommon { /// /// 图标大小 /// public int IconSize = 0; /// /// 做成一个显示图标的控件(需要手动开启点击状态) /// /// 大小 /// 是否计算真实值 public IconViewControl(int size = 110, bool real = true) { this.InitIconSize(size, size, real); this.IconSize = size; if (real == true) { this.IconSize = this.GetPictrueRealSize(size); } } } }