Blame view

OS.Spin/OS.Spin.View/Utils/ControlUserOne.cs 1.61 KB
8ca6e89d   Tuo Wenbo   20211021
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
  using OS.Spin.View.SquareBox;
  namespace OS.Spin.View.Utils
  {
      public class ControlUserOne
      {
          private UserControOne _userControOne;   //存储UserControOne(这里存放的是我要展示的数据)
          private UserControl4 _userControl4;    //这个控制颜色转换的状态
          private int _ground;    //控制背景颜色的改变
  
          /// <summary>
          /// 无参构造函数
          /// </summary>
          public ControlUserOne() { }
  
          /// <summary>
          /// 构造函数
          /// </summary>
          /// <param name="userControOne"></param>
          /// <param name="ground"></param>
          public ControlUserOne(UserControOne userControOne, UserControl4 userControl4, int ground)
          {
              this._userControOne = userControOne;
              this._userControl4 = userControl4;
              this._ground = ground;
          }
  
          /// <summary>
          /// 获取UserControOne
          /// </summary>
          public UserControOne userControOne
          {
              get { return _userControOne; }
              set
              {
                  _userControOne = value;
              }
          }
  
          /// <summary>
          /// 控制颜色的转换
          /// </summary>
          public UserControl4 userControl4
          {
              get { return _userControl4; }
              set
              {
                  _userControl4 = value;
              }
          }
          /// <summary>
          /// 获取ground
          /// </summary>
          public int ground
          {
              get { return _ground; }
              set
              {
                  _ground = value;
              }
          }
      }
  }