yangyin
2024-10-25 1e65c49ba929103e79d87322ca1a3573c2b532e2
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
using System.Drawing;
using System.Windows.Forms;
 
namespace Microsoft.Windows.Forms
{
    public partial class Sprite
    {
        private Image m_BackgroundImage9 = null;
        /// <summary>
        /// 九宫格背景图
        /// </summary>
        public Image BackgroundImage9
        {
            get
            {
                return this.m_BackgroundImage9;
            }
            set
            {
                if (value != this.m_BackgroundImage9)
                {
                    this.m_BackgroundImage9 = value;
                    this.Feedback();
                }
            }
        }
 
        private Image m_BackgroundImage9Hovered = null;
        /// <summary>
        /// 鼠标移上九宫格背景图
        /// </summary>
        public Image BackgroundImage9Hovered
        {
            get
            {
                return this.m_BackgroundImage9Hovered;
            }
            set
            {
                if (value != this.m_BackgroundImage9Hovered)
                {
                    this.m_BackgroundImage9Hovered = value;
                    this.Feedback();
                }
            }
        }
 
        private Image m_BackgroundImage9Pressed = null;
        /// <summary>
        /// 鼠标按下九宫格背景图
        /// </summary>
        public Image BackgroundImage9Pressed
        {
            get
            {
                return this.m_BackgroundImage9Pressed;
            }
            set
            {
                if (value != this.m_BackgroundImage9Pressed)
                {
                    this.m_BackgroundImage9Pressed = value;
                    this.Feedback();
                }
            }
        }
 
        private Image m_BackgroundImage9Focused = null;
        /// <summary>
        /// 获取焦点九宫格背景图
        /// </summary>
        public Image BackgroundImage9Focused
        {
            get
            {
                return this.m_BackgroundImage9Focused;
            }
            set
            {
                if (value != this.m_BackgroundImage9Focused)
                {
                    this.m_BackgroundImage9Focused = value;
                    this.Feedback();
                }
            }
        }
 
        private Image m_BackgroundImage9Disabled = null;
        /// <summary>
        /// 状态禁用九宫格背景图
        /// </summary>
        public Image BackgroundImage9Disabled
        {
            get
            {
                return this.m_BackgroundImage9Disabled;
            }
            set
            {
                if (value != this.m_BackgroundImage9Disabled)
                {
                    this.m_BackgroundImage9Disabled = value;
                    this.Feedback();
                }
            }
        }
 
        private Image m_BackgroundImage9Highlight = null;
        /// <summary>
        /// 高亮九宫格背景图
        /// </summary>
        public Image BackgroundImage9Highlight
        {
            get
            {
                return this.m_BackgroundImage9Highlight;
            }
            set
            {
                if (value != this.m_BackgroundImage9Highlight)
                {
                    this.m_BackgroundImage9Highlight = value;
                    this.Feedback();
                }
            }
        }
 
        private Padding m_BackgroundImage9Padding = Padding.Empty;
        /// <summary>
        /// 九宫格背景图内边距
        /// </summary>
        public Padding BackgroundImage9Padding
        {
            get
            {
                return this.m_BackgroundImage9Padding;
            }
            set
            {
                if (value != this.m_BackgroundImage9Padding)
                {
                    this.m_BackgroundImage9Padding = value;
                    this.Feedback();
                }
            }
        }
 
        private ImageLayout9 m_BackgroundImage9Layout = ImageLayout9.None;
        /// <summary>
        /// 九宫格背景图布局方式
        /// </summary>
        public ImageLayout9 BackgroundImage9Layout
        {
            get
            {
                return this.m_BackgroundImage9Layout;
            }
            set
            {
                if (value != this.m_BackgroundImage9Layout)
                {
                    this.m_BackgroundImage9Layout = value;
                    this.Feedback();
                }
            }
        }
 
        private bool m_BackgroundImage9GrayOnDisabled = false;
        /// <summary>
        /// 状态禁用时九宫格背景图是否变灰
        /// </summary>
        public bool BackgroundImage9GrayOnDisabled
        {
            get
            {
                return this.m_BackgroundImage9GrayOnDisabled;
            }
            set
            {
                if (value != this.m_BackgroundImage9GrayOnDisabled)
                {
                    this.m_BackgroundImage9GrayOnDisabled = value;
                    this.Feedback();
                }
            }
        }
    }
}