-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForm1.Designer.vb
More file actions
413 lines (409 loc) · 12.9 KB
/
Form1.Designer.vb
File metadata and controls
413 lines (409 loc) · 12.9 KB
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form1
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()
btnStart = New Button()
btnVariable = New Button()
btnDatatype = New Button()
btnInput = New Button()
Label1 = New Label()
Label2 = New Label()
Label3 = New Label()
TextBox1 = New TextBox()
TextBox2 = New TextBox()
TextBox3 = New TextBox()
btnGo = New Button()
txtNum1 = New TextBox()
txtNum2 = New TextBox()
btnCalculate = New Button()
lbNum1 = New Label()
lbNum2 = New Label()
Label4 = New Label()
btnIf = New Button()
Label5 = New Label()
lstCntry = New ListBox()
lbScore = New Label()
tbScore = New TextBox()
btnScore = New Button()
btnSelect = New Button()
Label6 = New Label()
tbTemp = New TextBox()
btnPattern = New Button()
btnEvenOdd = New Button()
Label7 = New Label()
btnLargest = New Button()
btnSmallest = New Button()
SuspendLayout()
'
' btnStart
'
btnStart.BackColor = Color.IndianRed
btnStart.BackgroundImageLayout = ImageLayout.None
btnStart.Location = New Point(233, 288)
btnStart.Name = "btnStart"
btnStart.Size = New Size(262, 71)
btnStart.TabIndex = 0
btnStart.Text = "MessageBox"
btnStart.UseVisualStyleBackColor = False
'
' btnVariable
'
btnVariable.BackColor = Color.RosyBrown
btnVariable.Location = New Point(233, 211)
btnVariable.Name = "btnVariable"
btnVariable.Size = New Size(262, 71)
btnVariable.TabIndex = 1
btnVariable.Text = "Variables"
btnVariable.UseVisualStyleBackColor = False
'
' btnDatatype
'
btnDatatype.BackColor = Color.WhiteSmoke
btnDatatype.Location = New Point(233, 138)
btnDatatype.Name = "btnDatatype"
btnDatatype.Size = New Size(262, 71)
btnDatatype.TabIndex = 2
btnDatatype.Text = "Datatypes"
btnDatatype.UseVisualStyleBackColor = False
'
' btnInput
'
btnInput.BackColor = Color.Gainsboro
btnInput.Location = New Point(233, 61)
btnInput.Name = "btnInput"
btnInput.Size = New Size(262, 71)
btnInput.TabIndex = 3
btnInput.Text = "InputBox"
btnInput.UseVisualStyleBackColor = False
'
' Label1
'
Label1.AutoSize = True
Label1.Location = New Point(68, 61)
Label1.Name = "Label1"
Label1.Size = New Size(97, 25)
Label1.TabIndex = 4
Label1.Text = "First Name"
'
' Label2
'
Label2.AutoSize = True
Label2.Location = New Point(69, 147)
Label2.Name = "Label2"
Label2.Size = New Size(95, 25)
Label2.TabIndex = 5
Label2.Text = "Last Name"
'
' Label3
'
Label3.AutoSize = True
Label3.Location = New Point(82, 233)
Label3.Name = "Label3"
Label3.Size = New Size(69, 25)
Label3.TabIndex = 6
Label3.Text = "Gender"
'
' TextBox1
'
TextBox1.Location = New Point(41, 101)
TextBox1.Name = "TextBox1"
TextBox1.Size = New Size(150, 31)
TextBox1.TabIndex = 7
'
' TextBox2
'
TextBox2.Location = New Point(41, 187)
TextBox2.Name = "TextBox2"
TextBox2.Size = New Size(150, 31)
TextBox2.TabIndex = 8
'
' TextBox3
'
TextBox3.Location = New Point(41, 273)
TextBox3.Name = "TextBox3"
TextBox3.Size = New Size(150, 31)
TextBox3.TabIndex = 9
'
' btnGo
'
btnGo.BackColor = Color.Lavender
btnGo.Location = New Point(60, 319)
btnGo.Name = "btnGo"
btnGo.Size = New Size(112, 34)
btnGo.TabIndex = 10
btnGo.Text = "Go"
btnGo.UseVisualStyleBackColor = False
'
' txtNum1
'
txtNum1.Location = New Point(583, 164)
txtNum1.Name = "txtNum1"
txtNum1.Size = New Size(150, 31)
txtNum1.TabIndex = 11
'
' txtNum2
'
txtNum2.Location = New Point(583, 252)
txtNum2.Name = "txtNum2"
txtNum2.Size = New Size(150, 31)
txtNum2.TabIndex = 12
'
' btnCalculate
'
btnCalculate.BackColor = SystemColors.ActiveCaption
btnCalculate.Location = New Point(602, 306)
btnCalculate.Name = "btnCalculate"
btnCalculate.Size = New Size(112, 34)
btnCalculate.TabIndex = 13
btnCalculate.Text = "Calculate"
btnCalculate.UseVisualStyleBackColor = False
'
' lbNum1
'
lbNum1.AutoSize = True
lbNum1.Location = New Point(612, 123)
lbNum1.Name = "lbNum1"
lbNum1.Size = New Size(92, 25)
lbNum1.TabIndex = 14
lbNum1.Text = "Number 1"
lbNum1.TextAlign = ContentAlignment.TopCenter
'
' lbNum2
'
lbNum2.AutoSize = True
lbNum2.Location = New Point(612, 211)
lbNum2.Name = "lbNum2"
lbNum2.Size = New Size(92, 25)
lbNum2.TabIndex = 15
lbNum2.Text = "Number 2"
'
' Label4
'
Label4.AutoSize = True
Label4.Location = New Point(556, 61)
Label4.Name = "Label4"
Label4.Size = New Size(195, 25)
Label4.TabIndex = 16
Label4.Text = "Arithematic Operations"
'
' btnIf
'
btnIf.BackColor = Color.ForestGreen
btnIf.Location = New Point(68, 607)
btnIf.Name = "btnIf"
btnIf.Size = New Size(112, 34)
btnIf.TabIndex = 17
btnIf.Text = "Selection (If)"
btnIf.UseVisualStyleBackColor = False
'
' Label5
'
Label5.AutoSize = True
Label5.Location = New Point(68, 431)
Label5.Name = "Label5"
Label5.Size = New Size(158, 25)
Label5.TabIndex = 18
Label5.Text = "Enter your country"
'
' lstCntry
'
lstCntry.BackColor = SystemColors.HighlightText
lstCntry.FormattingEnabled = True
lstCntry.ItemHeight = 25
lstCntry.Items.AddRange(New Object() {"Australia", "India", "Pakistan", "Japan", "Germany"})
lstCntry.Location = New Point(68, 467)
lstCntry.Name = "lstCntry"
lstCntry.Size = New Size(180, 129)
lstCntry.TabIndex = 19
'
' lbScore
'
lbScore.AutoSize = True
lbScore.Location = New Point(321, 449)
lbScore.Name = "lbScore"
lbScore.Size = New Size(101, 25)
lbScore.TabIndex = 20
lbScore.Text = "Enter Score"
'
' tbScore
'
tbScore.Location = New Point(440, 442)
tbScore.MaxLength = 3
tbScore.Name = "tbScore"
tbScore.Size = New Size(150, 31)
tbScore.TabIndex = 21
'
' btnScore
'
btnScore.BackColor = SystemColors.Highlight
btnScore.Location = New Point(612, 440)
btnScore.Name = "btnScore"
btnScore.Size = New Size(112, 34)
btnScore.TabIndex = 22
btnScore.Text = "Grade"
btnScore.UseVisualStyleBackColor = False
'
' btnSelect
'
btnSelect.BackColor = SystemColors.ActiveCaption
btnSelect.Location = New Point(663, 494)
btnSelect.Name = "btnSelect"
btnSelect.Size = New Size(112, 34)
btnSelect.TabIndex = 23
btnSelect.Text = "SelectCase"
btnSelect.UseVisualStyleBackColor = False
'
' Label6
'
Label6.AutoSize = True
Label6.Location = New Point(321, 502)
Label6.Name = "Label6"
Label6.Size = New Size(155, 25)
Label6.TabIndex = 24
Label6.Text = "Enter Temperature"
'
' tbTemp
'
tbTemp.Location = New Point(492, 496)
tbTemp.Name = "tbTemp"
tbTemp.Size = New Size(150, 31)
tbTemp.TabIndex = 25
'
' btnPattern
'
btnPattern.Location = New Point(321, 562)
btnPattern.Name = "btnPattern"
btnPattern.Size = New Size(112, 34)
btnPattern.TabIndex = 26
btnPattern.Text = "Beep Sound"
btnPattern.UseVisualStyleBackColor = True
'
' btnEvenOdd
'
btnEvenOdd.BackColor = Color.IndianRed
btnEvenOdd.Location = New Point(449, 562)
btnEvenOdd.Name = "btnEvenOdd"
btnEvenOdd.Size = New Size(207, 34)
btnEvenOdd.TabIndex = 27
btnEvenOdd.Text = "CountUpOddOrEven"
btnEvenOdd.UseVisualStyleBackColor = False
'
' Label7
'
Label7.AutoSize = True
Label7.Location = New Point(321, 632)
Label7.Name = "Label7"
Label7.Size = New Size(78, 25)
Label7.TabIndex = 28
Label7.Text = "3,1,8,6,7"
'
' btnLargest
'
btnLargest.BackColor = Color.LimeGreen
btnLargest.Location = New Point(417, 627)
btnLargest.Name = "btnLargest"
btnLargest.Size = New Size(112, 34)
btnLargest.TabIndex = 29
btnLargest.Text = "Largest"
btnLargest.UseVisualStyleBackColor = False
'
' btnSmallest
'
btnSmallest.BackColor = Color.LimeGreen
btnSmallest.Location = New Point(556, 627)
btnSmallest.Name = "btnSmallest"
btnSmallest.Size = New Size(112, 34)
btnSmallest.TabIndex = 30
btnSmallest.Text = "Smallest"
btnSmallest.UseVisualStyleBackColor = False
'
' Form1
'
AutoScaleDimensions = New SizeF(10F, 25F)
AutoScaleMode = AutoScaleMode.Font
ClientSize = New Size(813, 754)
Controls.Add(btnSmallest)
Controls.Add(btnLargest)
Controls.Add(Label7)
Controls.Add(btnEvenOdd)
Controls.Add(btnPattern)
Controls.Add(tbTemp)
Controls.Add(Label6)
Controls.Add(btnSelect)
Controls.Add(btnScore)
Controls.Add(tbScore)
Controls.Add(lbScore)
Controls.Add(lstCntry)
Controls.Add(Label5)
Controls.Add(btnIf)
Controls.Add(Label4)
Controls.Add(lbNum2)
Controls.Add(lbNum1)
Controls.Add(btnCalculate)
Controls.Add(txtNum2)
Controls.Add(txtNum1)
Controls.Add(btnGo)
Controls.Add(TextBox3)
Controls.Add(TextBox2)
Controls.Add(TextBox1)
Controls.Add(Label3)
Controls.Add(Label2)
Controls.Add(Label1)
Controls.Add(btnInput)
Controls.Add(btnDatatype)
Controls.Add(btnVariable)
Controls.Add(btnStart)
Name = "Form1"
Text = "Form1"
ResumeLayout(False)
PerformLayout()
End Sub
Friend WithEvents btnStart As Button
Friend WithEvents btnVariable As Button
Friend WithEvents btnDatatype As Button
Friend WithEvents btnInput As Button
Friend WithEvents Label1 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents TextBox1 As TextBox
Friend WithEvents TextBox2 As TextBox
Friend WithEvents TextBox3 As TextBox
Friend WithEvents btnGo As Button
Friend WithEvents txtNum1 As TextBox
Friend WithEvents txtNum2 As TextBox
Friend WithEvents btnCalculate As Button
Friend WithEvents lbNum1 As Label
Friend WithEvents lbNum2 As Label
Friend WithEvents Label4 As Label
Friend WithEvents btnIf As Button
Friend WithEvents Label5 As Label
Public WithEvents lstCntry As ListBox
Friend WithEvents lbScore As Label
Friend WithEvents tbScore As TextBox
Friend WithEvents btnScore As Button
Friend WithEvents btnSelect As Button
Friend WithEvents Label6 As Label
Friend WithEvents tbTemp As TextBox
Friend WithEvents btnPattern As Button
Friend WithEvents btnEvenOdd As Button
Friend WithEvents Label7 As Label
Friend WithEvents btnLargest As Button
Friend WithEvents btnSmallest As Button
End Class