using OS.Spin.View.SquareBox; namespace OS.Spin.View.Utils { public class ControlUserOne { private UserControOne _userControOne; //存储UserControOne(这里存放的是我要展示的数据) private UserControl4 _userControl4; //这个控制颜色转换的状态 private int _ground; //控制背景颜色的改变 /// /// 无参构造函数 /// public ControlUserOne() { } /// /// 构造函数 /// /// /// public ControlUserOne(UserControOne userControOne, UserControl4 userControl4, int ground) { this._userControOne = userControOne; this._userControl4 = userControl4; this._ground = ground; } /// /// 获取UserControOne /// public UserControOne userControOne { get { return _userControOne; } set { _userControOne = value; } } /// /// 控制颜色的转换 /// public UserControl4 userControl4 { get { return _userControl4; } set { _userControl4 = value; } } /// /// 获取ground /// public int ground { get { return _ground; } set { _ground = value; } } } }