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