-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmEditStaff.vb
290 lines (279 loc) · 11 KB
/
frmEditStaff.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
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
Public Class frmStaffEdit
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
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.
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents ErrorProvider1 As System.Windows.Forms.ErrorProvider
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Button3 = New System.Windows.Forms.Button
Me.ComboBox2 = New System.Windows.Forms.ComboBox
Me.RadioButton2 = New System.Windows.Forms.RadioButton
Me.RadioButton1 = New System.Windows.Forms.RadioButton
Me.Label8 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.Button1 = New System.Windows.Forms.Button
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.TextBox6 = New System.Windows.Forms.TextBox
Me.TextBox5 = New System.Windows.Forms.TextBox
Me.TextBox4 = New System.Windows.Forms.TextBox
Me.TextBox3 = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.TextBox2 = New System.Windows.Forms.TextBox
Me.Label9 = New System.Windows.Forms.Label
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.ErrorProvider1 = New System.Windows.Forms.ErrorProvider
Me.SuspendLayout()
'
'Button3
'
Me.Button3.Location = New System.Drawing.Point(328, 256)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(104, 23)
Me.Button3.TabIndex = 69
Me.Button3.Text = "&Save the changes"
'
'ComboBox2
'
Me.ComboBox2.Location = New System.Drawing.Point(88, 160)
Me.ComboBox2.Name = "ComboBox2"
Me.ComboBox2.Size = New System.Drawing.Size(200, 21)
Me.ComboBox2.TabIndex = 68
'
'RadioButton2
'
Me.RadioButton2.Location = New System.Drawing.Point(200, 120)
Me.RadioButton2.Name = "RadioButton2"
Me.RadioButton2.Size = New System.Drawing.Size(72, 24)
Me.RadioButton2.TabIndex = 67
Me.RadioButton2.Text = "Female"
'
'RadioButton1
'
Me.RadioButton1.Location = New System.Drawing.Point(112, 120)
Me.RadioButton1.Name = "RadioButton1"
Me.RadioButton1.Size = New System.Drawing.Size(80, 24)
Me.RadioButton1.TabIndex = 66
Me.RadioButton1.Text = "Male"
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(16, 112)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(64, 23)
Me.Label8.TabIndex = 65
Me.Label8.Text = "Sex"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 152)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(64, 23)
Me.Label1.TabIndex = 64
Me.Label1.Text = "Department Name"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(344, 296)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 63
Me.Button1.Text = "&Cancel"
'
'ComboBox1
'
Me.ComboBox1.Location = New System.Drawing.Point(88, 304)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(200, 21)
Me.ComboBox1.TabIndex = 62
'
'TextBox6
'
Me.TextBox6.Location = New System.Drawing.Point(88, 272)
Me.TextBox6.Name = "TextBox6"
Me.TextBox6.Size = New System.Drawing.Size(200, 20)
Me.TextBox6.TabIndex = 61
Me.TextBox6.Text = ""
'
'TextBox5
'
Me.TextBox5.Location = New System.Drawing.Point(88, 232)
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(200, 20)
Me.TextBox5.TabIndex = 60
Me.TextBox5.Text = ""
'
'TextBox4
'
Me.TextBox4.Location = New System.Drawing.Point(88, 192)
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(200, 20)
Me.TextBox4.TabIndex = 59
Me.TextBox4.Text = ""
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(88, 80)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(200, 20)
Me.TextBox3.TabIndex = 58
Me.TextBox3.Text = ""
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 312)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(64, 23)
Me.Label7.TabIndex = 57
Me.Label7.Text = "Stage"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 280)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(64, 23)
Me.Label6.TabIndex = 56
Me.Label6.Text = "Contact No"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 232)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(64, 24)
Me.Label5.TabIndex = 55
Me.Label5.Text = "Permanent Address"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 184)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(64, 32)
Me.Label4.TabIndex = 54
Me.Label4.Text = "Term Time Address"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(16, 72)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(64, 23)
Me.Label3.TabIndex = 53
Me.Label3.Text = "Last Name"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 40)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(64, 23)
Me.Label2.TabIndex = 51
Me.Label2.Text = "First Name"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'TextBox2
'
Me.TextBox2.Location = New System.Drawing.Point(88, 48)
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(200, 20)
Me.TextBox2.TabIndex = 52
Me.TextBox2.Text = ""
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(16, 8)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(112, 23)
Me.Label9.TabIndex = 70
Me.Label9.Text = "Enter the Member ID"
Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(144, 8)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(144, 20)
Me.TextBox1.TabIndex = 71
Me.TextBox1.Text = ""
'
'ErrorProvider1
'
Me.ErrorProvider1.ContainerControl = Me
'
'frmStaffEdit
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(440, 334)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.Label9)
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.ComboBox2)
Me.Controls.Add(Me.RadioButton2)
Me.Controls.Add(Me.RadioButton1)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.ComboBox1)
Me.Controls.Add(Me.TextBox6)
Me.Controls.Add(Me.TextBox5)
Me.Controls.Add(Me.TextBox4)
Me.Controls.Add(Me.TextBox3)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.TextBox2)
Me.Name = "frmStaffEdit"
Me.Text = "Edit Staff"
Me.ResumeLayout(False)
End Sub
#End Region
End Class