forked from Abhivendra/School-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainInterface.vb
92 lines (71 loc) · 3.58 KB
/
MainInterface.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
Imports System.Windows.Forms
Public Class MainInterface
Private Sub MainInterface_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub ToolStripButton8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton8.Click
SMS_About.ShowDialog()
End Sub
Private Sub ToolStripButton10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton10.Click
User_Login.Show()
Me.Close()
End Sub
Private Sub ToolStripButton12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton12.Click
Me.Close()
End Sub
Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click
AddStudent.Show()
AddStudent.MdiParent = Me
End Sub
Private Sub ToolStripButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton2.Click
ManageStudents.Show()
ManageStudents.MdiParent = Me
End Sub
Private Sub ToolStripButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton3.Click
ManageTeachers.Show()
ManageTeachers.MdiParent = Me
End Sub
Private Sub ToolStripButton4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton4.Click
AddTeachers.Show()
AddTeachers.MdiParent = Me
End Sub
Private Sub FA1ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FA1ToolStripMenuItem1.Click
EnterFA1.Show()
EnterFA1.MdiParent = Me
End Sub
Private Sub FA2ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FA2ToolStripMenuItem1.Click
EnterFA2.Show()
EnterFA2.MdiParent = Me
End Sub
Private Sub SA1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SA1ToolStripMenuItem.Click
EnterSA1.Show()
EnterSA1.MdiParent = Me
End Sub
Private Sub FA1ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FA1ToolStripMenuItem2.Click
EnterFA3.Show()
EnterFA3.MdiParent = Me
End Sub
Private Sub FA4ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FA4ToolStripMenuItem.Click
EnterFA4.Show()
EnterFA4.MdiParent = Me
End Sub
Private Sub SA2ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SA2ToolStripMenuItem.Click
EnterSA2.Show()
EnterSA2.MdiParent = Me
End Sub
Private Sub ToolStripButton6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton6.Click
PrintResults.Show()
PrintResults.MdiParent = Me
End Sub
Private Sub ToolStripButton7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton7.Click
PrintReportCard.Show()
PrintReportCard.MdiParent = Me
End Sub
Private Sub ToolStripButton11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton11.Click
ManageUsers.Show()
ManageUsers.MdiParent = Me
End Sub
Private Sub ComputeResultToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComputeResultToolStripMenuItem.Click
ComputeResult.Show()
ComputeResult.MdiParent = Me
End Sub
End Class