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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
Namespace BasicWM
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ColorPicker
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.pnltop = New System.Windows.Forms.Panel()
Me.lbtitle = New System.Windows.Forms.Label()
Me.pnlcolors = New System.Windows.Forms.FlowLayoutPanel()
Me.btnwhite = New System.Windows.Forms.Button()
Me.btnblack = New System.Windows.Forms.Button()
Me.btngray = New System.Windows.Forms.Button()
Me.btnred = New System.Windows.Forms.Button()
Me.btngreen = New System.Windows.Forms.Button()
Me.btnblue = New System.Windows.Forms.Button()
Me.btnyellow = New System.Windows.Forms.Button()
Me.btnorange = New System.Windows.Forms.Button()
Me.btnpink = New System.Windows.Forms.Button()
Me.btnpurple = New System.Windows.Forms.Button()
Me.btnbrown = New System.Windows.Forms.Button()
Me.btnok = New System.Windows.Forms.Button()
Me.lbselectedcolor = New System.Windows.Forms.Label()
Me.btncancel = New System.Windows.Forms.Button()
Me.pnltop.SuspendLayout()
Me.pnlcolors.SuspendLayout()
Me.SuspendLayout()
'
'pnltop
'
Me.pnltop.BackColor = System.Drawing.Color.Gray
Me.pnltop.Controls.Add(Me.lbtitle)
Me.pnltop.Dock = System.Windows.Forms.DockStyle.Top
Me.pnltop.Location = New System.Drawing.Point(0, 0)
Me.pnltop.Name = "pnltop"
Me.pnltop.Size = New System.Drawing.Size(362, 30)
Me.pnltop.TabIndex = 0
'
'lbtitle
'
Me.lbtitle.AutoSize = True
Me.lbtitle.Location = New System.Drawing.Point(12, 9)
Me.lbtitle.Name = "lbtitle"
Me.lbtitle.Size = New System.Drawing.Size(91, 14)
Me.lbtitle.TabIndex = 0
Me.lbtitle.Text = "Color Picker"
'
'pnlcolors
'
Me.pnlcolors.Controls.Add(Me.btnwhite)
Me.pnlcolors.Controls.Add(Me.btnblack)
Me.pnlcolors.Controls.Add(Me.btngray)
Me.pnlcolors.Controls.Add(Me.btnred)
Me.pnlcolors.Controls.Add(Me.btngreen)
Me.pnlcolors.Controls.Add(Me.btnblue)
Me.pnlcolors.Controls.Add(Me.btnyellow)
Me.pnlcolors.Controls.Add(Me.btnorange)
Me.pnlcolors.Controls.Add(Me.btnpink)
Me.pnlcolors.Controls.Add(Me.btnpurple)
Me.pnlcolors.Controls.Add(Me.btnbrown)
Me.pnlcolors.Location = New System.Drawing.Point(15, 65)
Me.pnlcolors.Name = "pnlcolors"
Me.pnlcolors.Size = New System.Drawing.Size(335, 177)
Me.pnlcolors.TabIndex = 1
'
'btnwhite
'
Me.btnwhite.BackColor = System.Drawing.Color.White
Me.btnwhite.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnwhite.Location = New System.Drawing.Point(3, 3)
Me.btnwhite.Name = "btnwhite"
Me.btnwhite.Size = New System.Drawing.Size(26, 23)
Me.btnwhite.TabIndex = 0
Me.btnwhite.UseVisualStyleBackColor = False
'
'btnblack
'
Me.btnblack.BackColor = System.Drawing.Color.Black
Me.btnblack.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnblack.Location = New System.Drawing.Point(35, 3)
Me.btnblack.Name = "btnblack"
Me.btnblack.Size = New System.Drawing.Size(26, 23)
Me.btnblack.TabIndex = 1
Me.btnblack.UseVisualStyleBackColor = False
'
'btngray
'
Me.btngray.BackColor = System.Drawing.Color.Gray
Me.btngray.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btngray.Location = New System.Drawing.Point(67, 3)
Me.btngray.Name = "btngray"
Me.btngray.Size = New System.Drawing.Size(26, 23)
Me.btngray.TabIndex = 2
Me.btngray.UseVisualStyleBackColor = False
Me.btngray.Visible = False
'
'btnred
'
Me.btnred.BackColor = System.Drawing.Color.Red
Me.btnred.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnred.Location = New System.Drawing.Point(99, 3)
Me.btnred.Name = "btnred"
Me.btnred.Size = New System.Drawing.Size(26, 23)
Me.btnred.TabIndex = 3
Me.btnred.UseVisualStyleBackColor = False
Me.btnred.Visible = False
'
'btngreen
'
Me.btngreen.BackColor = System.Drawing.Color.Green
Me.btngreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btngreen.Location = New System.Drawing.Point(131, 3)
Me.btngreen.Name = "btngreen"
Me.btngreen.Size = New System.Drawing.Size(26, 23)
Me.btngreen.TabIndex = 4
Me.btngreen.UseVisualStyleBackColor = False
Me.btngreen.Visible = False
'
'btnblue
'
Me.btnblue.BackColor = System.Drawing.Color.Blue
Me.btnblue.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnblue.Location = New System.Drawing.Point(163, 3)
Me.btnblue.Name = "btnblue"
Me.btnblue.Size = New System.Drawing.Size(26, 23)
Me.btnblue.TabIndex = 5
Me.btnblue.UseVisualStyleBackColor = False
Me.btnblue.Visible = False
'
'btnyellow
'
Me.btnyellow.BackColor = System.Drawing.Color.Yellow
Me.btnyellow.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnyellow.Location = New System.Drawing.Point(195, 3)
Me.btnyellow.Name = "btnyellow"
Me.btnyellow.Size = New System.Drawing.Size(26, 23)
Me.btnyellow.TabIndex = 6
Me.btnyellow.UseVisualStyleBackColor = False
Me.btnyellow.Visible = False
'
'btnorange
'
Me.btnorange.BackColor = System.Drawing.Color.Orange
Me.btnorange.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnorange.Location = New System.Drawing.Point(227, 3)
Me.btnorange.Name = "btnorange"
Me.btnorange.Size = New System.Drawing.Size(26, 23)
Me.btnorange.TabIndex = 7
Me.btnorange.UseVisualStyleBackColor = False
Me.btnorange.Visible = False
'
'btnpink
'
Me.btnpink.BackColor = System.Drawing.Color.Pink
Me.btnpink.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnpink.Location = New System.Drawing.Point(259, 3)
Me.btnpink.Name = "btnpink"
Me.btnpink.Size = New System.Drawing.Size(26, 23)
Me.btnpink.TabIndex = 8
Me.btnpink.UseVisualStyleBackColor = False
Me.btnpink.Visible = False
'
'btnpurple
'
Me.btnpurple.BackColor = System.Drawing.Color.Purple
Me.btnpurple.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnpurple.Location = New System.Drawing.Point(291, 3)
Me.btnpurple.Name = "btnpurple"
Me.btnpurple.Size = New System.Drawing.Size(26, 23)
Me.btnpurple.TabIndex = 9
Me.btnpurple.UseVisualStyleBackColor = False
Me.btnpurple.Visible = False
'
'btnbrown
'
Me.btnbrown.BackColor = System.Drawing.Color.Brown
Me.btnbrown.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnbrown.Location = New System.Drawing.Point(3, 32)
Me.btnbrown.Name = "btnbrown"
Me.btnbrown.Size = New System.Drawing.Size(26, 23)
Me.btnbrown.TabIndex = 10
Me.btnbrown.UseVisualStyleBackColor = False
Me.btnbrown.Visible = False
'
'btnok
'
Me.btnok.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btnok.Location = New System.Drawing.Point(275, 245)
Me.btnok.Name = "btnok"
Me.btnok.Size = New System.Drawing.Size(75, 23)
Me.btnok.TabIndex = 2
Me.btnok.Text = "OK"
Me.btnok.UseVisualStyleBackColor = True
'
'lbselectedcolor
'
Me.lbselectedcolor.AutoSize = True
Me.lbselectedcolor.Location = New System.Drawing.Point(12, 249)
Me.lbselectedcolor.Name = "lbselectedcolor"
Me.lbselectedcolor.Size = New System.Drawing.Size(154, 14)
Me.lbselectedcolor.TabIndex = 3
Me.lbselectedcolor.Text = "Selected Color: White"
'
'btncancel
'
Me.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btncancel.Location = New System.Drawing.Point(194, 245)
Me.btncancel.Name = "btncancel"
Me.btncancel.Size = New System.Drawing.Size(75, 23)
Me.btncancel.TabIndex = 4
Me.btncancel.Text = "Cancel"
Me.btncancel.UseVisualStyleBackColor = True
'
'ColorPicker
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 14.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.Black
Me.ClientSize = New System.Drawing.Size(362, 280)
Me.Controls.Add(Me.btncancel)
Me.Controls.Add(Me.lbselectedcolor)
Me.Controls.Add(Me.btnok)
Me.Controls.Add(Me.pnlcolors)
Me.Controls.Add(Me.pnltop)
Me.Font = New System.Drawing.Font("Courier New", 8.25!)
Me.ForeColor = System.Drawing.Color.White
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Me.Name = "ColorPicker"
Me.Text = "ColorPicker"
Me.pnltop.ResumeLayout(False)
Me.pnltop.PerformLayout()
Me.pnlcolors.ResumeLayout(False)
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents pnltop As System.Windows.Forms.Panel
Friend WithEvents lbtitle As System.Windows.Forms.Label
Friend WithEvents pnlcolors As System.Windows.Forms.FlowLayoutPanel
Friend WithEvents btnwhite As System.Windows.Forms.Button
Friend WithEvents btnblack As System.Windows.Forms.Button
Friend WithEvents btngray As System.Windows.Forms.Button
Friend WithEvents btnred As System.Windows.Forms.Button
Friend WithEvents btngreen As System.Windows.Forms.Button
Friend WithEvents btnblue As System.Windows.Forms.Button
Friend WithEvents btnyellow As System.Windows.Forms.Button
Friend WithEvents btnorange As System.Windows.Forms.Button
Friend WithEvents btnpink As System.Windows.Forms.Button
Friend WithEvents btnpurple As System.Windows.Forms.Button
Friend WithEvents btnbrown As System.Windows.Forms.Button
Friend WithEvents btnok As System.Windows.Forms.Button
Friend WithEvents lbselectedcolor As System.Windows.Forms.Label
Friend WithEvents btncancel As System.Windows.Forms.Button
End Class
End Namespace
|