-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainf2.frm
189 lines (176 loc) · 4.43 KB
/
Mainf2.frm
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
VERSION 5.00
Begin VB.Form Form2
BackColor = &H00FFC0C0&
BorderStyle = 1 'Fixed Single
Caption = "Time Table Management System"
ClientHeight = 7305
ClientLeft = 150
ClientTop = 780
ClientWidth = 11610
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "Mainf2.frx":0000
ScaleHeight = 7305
ScaleWidth = 11610
StartUpPosition = 3 'Windows Default
Begin VB.PictureBox picSubD
Height = 1455
Left = 240
Picture = "Mainf2.frx":734B
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 6
Top = 2640
Width = 1455
End
Begin VB.PictureBox picStaffD
Height = 1455
Left = 2160
Picture = "Mainf2.frx":8C63
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 5
Top = 2640
Width = 1455
End
Begin VB.PictureBox picLabV
Height = 1455
Left = 9840
Picture = "Mainf2.frx":A2E3
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 4
Top = 2640
Width = 1455
End
Begin VB.PictureBox picClassV
Height = 1455
Left = 7920
Picture = "Mainf2.frx":B532
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 3
Top = 2640
Width = 1455
End
Begin VB.PictureBox picStaffV
Height = 1455
Left = 6000
Picture = "Mainf2.frx":C84B
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 2
Top = 2640
Width = 1455
End
Begin VB.PictureBox picTime
Height = 1455
Left = 4080
Picture = "Mainf2.frx":DBB7
ScaleHeight = 1395
ScaleWidth = 1395
TabIndex = 1
Top = 2640
Width = 1455
End
Begin VB.CommandButton cmdQuit
Caption = "Quit"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4320
TabIndex = 0
Top = 5280
Width = 2775
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuStaffV
Caption = "&View Staff Time Table"
End
Begin VB.Menu mnuClassV
Caption = "View &Class Time Table"
End
Begin VB.Menu mnuLabV
Caption = "View &Lab Time Table"
End
End
Begin VB.Menu mnuEdit
Caption = "&Edit"
Begin VB.Menu mnuSubD
Caption = "&Subject Details"
End
Begin VB.Menu mnuStaffD
Caption = "S&taff Details"
End
Begin VB.Menu mnuCreateTT
Caption = "&Create Timetable"
End
End
Begin VB.Menu mnuClose
Caption = "&Close"
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub mnuClassV_Click()
Unload Me
Form7.Show
End Sub
Private Sub mnuClose_Click()
Dim a As Integer
a = MsgBox("Do you want to exit ?", vbOKCancel, "Message")
If a = 1 Then
End
Else
Exit Sub
End If
End Sub
Private Sub mnuCreateTT_Click()
Unload Me
Form5.Show
End Sub
Private Sub mnuStaffD_Click()
Unload Me
Form4.Show
End Sub
Private Sub mnuSubD_Click()
Unload Me
Form3.Show
End Sub
Private Sub picClassV_Click()
Unload Me
Form7.Show
End Sub
Private Sub picTime_Click()
Unload Me
Form8.Show
End Sub
Private Sub picStaffD_Click()
Unload Me
Form4.Show
End Sub
Private Sub picSubD_Click()
Unload Me
Form3.Show
End Sub
Private Sub cmdQuit_Click()
Dim a As Integer
a = MsgBox("Do you want to exit ?", vbOKCancel, "Message")
If a = 1 Then
End
Else
Exit Sub
End If
End Sub