-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFrmMain.Designer.vb
137 lines (132 loc) · 6.34 KB
/
FrmMain.Designer.vb
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
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmMain
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.CalDateOfBirth = New System.Windows.Forms.MonthCalendar()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.TxtDateOfBirth = New System.Windows.Forms.TextBox()
Me.TxtAge = New System.Windows.Forms.TextBox()
Me.BtnExit = New System.Windows.Forms.Button()
Me.SuspendLayout()
'
'CalDateOfBirth
'
Me.CalDateOfBirth.Location = New System.Drawing.Point(17, 142)
Me.CalDateOfBirth.MaxSelectionCount = 1
Me.CalDateOfBirth.Name = "CalDateOfBirth"
Me.CalDateOfBirth.TabIndex = 0
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(13, 120)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(112, 20)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Date of Birth"
'
'Label2
'
Me.Label2.BackColor = System.Drawing.SystemColors.ControlLight
Me.Label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label2.Location = New System.Drawing.Point(12, 9)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(544, 84)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Age Calculator"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.BackColor = System.Drawing.Color.Black
Me.Label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label3.Location = New System.Drawing.Point(17, 14)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(544, 84)
Me.Label3.TabIndex = 3
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'TxtDateOfBirth
'
Me.TxtDateOfBirth.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
Me.TxtDateOfBirth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.TxtDateOfBirth.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.TxtDateOfBirth.Location = New System.Drawing.Point(17, 305)
Me.TxtDateOfBirth.Name = "TxtDateOfBirth"
Me.TxtDateOfBirth.ReadOnly = True
Me.TxtDateOfBirth.Size = New System.Drawing.Size(227, 22)
Me.TxtDateOfBirth.TabIndex = 4
'
'TxtAge
'
Me.TxtAge.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
Me.TxtAge.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.TxtAge.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.TxtAge.Location = New System.Drawing.Point(17, 333)
Me.TxtAge.Name = "TxtAge"
Me.TxtAge.ReadOnly = True
Me.TxtAge.Size = New System.Drawing.Size(227, 22)
Me.TxtAge.TabIndex = 6
'
'BtnExit
'
Me.BtnExit.Location = New System.Drawing.Point(492, 320)
Me.BtnExit.Name = "BtnExit"
Me.BtnExit.Size = New System.Drawing.Size(63, 34)
Me.BtnExit.TabIndex = 7
Me.BtnExit.Text = "E&xit"
Me.BtnExit.UseVisualStyleBackColor = True
'
'FrmMain
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(568, 365)
Me.ControlBox = False
Me.Controls.Add(Me.BtnExit)
Me.Controls.Add(Me.TxtAge)
Me.Controls.Add(Me.TxtDateOfBirth)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.CalDateOfBirth)
Me.Controls.Add(Me.Label3)
Me.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
Me.Margin = New System.Windows.Forms.Padding(5, 5, 5, 5)
Me.Name = "FrmMain"
Me.ShowIcon = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Age Calculator"
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents CalDateOfBirth As MonthCalendar
Friend WithEvents Label1 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents TxtDateOfBirth As TextBox
Friend WithEvents TxtAge As TextBox
Friend WithEvents BtnExit As Button
End Class