📄 mdiform1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm mdiform1
BackColor = &H8000000C&
Caption = "学生选课系统"
ClientHeight = 4815
ClientLeft = 165
ClientTop = 855
ClientWidth = 7170
LinkTopic = "MDIForm1"
Picture = "MDIForm1.frx":0000
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 4440
Width = 7170
_ExtentX = 12647
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
TextSave = "2007-7-21"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "10:22"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
OLEDropMode = 1
End
Begin VB.Menu system
Caption = "系统(&s)"
Begin VB.Menu user
Caption = "用户管理"
End
Begin VB.Menu zhuxiao
Caption = "注销"
End
Begin VB.Menu exit
Caption = "退出"
End
End
Begin VB.Menu choice
Caption = "选课(&l)"
Begin VB.Menu student
Caption = "学生信息管理"
End
Begin VB.Menu teacher
Caption = "教师信息管理"
End
Begin VB.Menu course
Caption = "课程信息管理"
End
Begin VB.Menu s_choice
Caption = "学生选课"
End
Begin VB.Menu t_choice
Caption = "教师选课"
End
End
Begin VB.Menu query
Caption = "查询(&q)"
Begin VB.Menu s_c_q
Caption = "学生选课查询"
End
Begin VB.Menu t_c_q
Caption = "教师查询"
End
End
Begin VB.Menu chart
Caption = "报表(&r)"
Begin VB.Menu tubiao
Caption = "图表"
End
Begin VB.Menu dayin
Caption = "打印报表"
End
End
Begin VB.Menu help
Caption = "帮助(&h)"
Begin VB.Menu guanyu
Caption = "关于"
End
End
End
Attribute VB_Name = "mdiform1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub course_Click()
'显示课程信息查询窗体
course_frm.Show
End Sub
Private Sub dayin_Click()
'打印报表
DataReport1.PrintReport True
End Sub
Private Sub exit_Click()
'退出
End
End Sub
Private Sub guanyu_Click()
'关于信息框
MsgBox "学生选课系统!", vbInformation
End Sub
Private Sub MDIForm_Load()
'状态栏设置
StatusBar1.Panels.Item(3).Text = "当前用户:" & username
StatusBar1.Panels.Item(4).Text = "权限:" & power
End Sub
Private Sub s_c_q_Click()
'显示查询窗体
query_frm.Show
End Sub
Private Sub s_choice_Click()
'显示学生选课窗体
s_choice_frm.Show
End Sub
Private Sub student_Click()
'显示学生信息窗体
student_frm.Show
End Sub
Private Sub t_c_q_Click()
'显示查询窗体
query_frm.Show
End Sub
Private Sub t_choice_Click()
'显示教师选课窗体
t_choice_frm.Show
End Sub
Private Sub teacher_Click()
'显示教师信息窗体
teacher_frm.Show
End Sub
Private Sub user_Click()
'显示用户管理窗体
user_frm.Show
End Sub
Private Sub zhuxiao_Click()
'注销
Unload Me
login_frm.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -