📄 mainmid.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.MDIForm MDIForm1
AutoShowChildren= 0 'False
BackColor = &H00FFC0C0&
Caption = "教务管理系统"
ClientHeight = 7740
ClientLeft = 60
ClientTop = 825
ClientWidth = 11880
Icon = "mainmid.frx":0000
LinkTopic = "MDIForm1"
LockControls = -1 'True
Picture = "mainmid.frx":08CA
WindowState = 2 'Maximized
Begin MSComDlg.CommonDialog Dialog
Left = 1320
Top = 2520
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Timer Timer1
Interval = 1000
Left = 2520
Top = 3480
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Index = 0
Left = 0
TabIndex = 1
ToolTipText = " "
Top = 7365
Width = 11880
_ExtentX = 20955
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 8371
MinWidth = 7762
Text = "谢谢使用教务管理系统!"
TextSave = "谢谢使用教务管理系统!"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 4666
MinWidth = 4057
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 4137
MinWidth = 3528
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 3149
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 4800
Top = 1320
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 19
ImageHeight = 19
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 7
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":10ED2
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":11052
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":1151A
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":11836
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":12112
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":1242E
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainmid.frx":1274A
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 675
Left = 0
TabIndex = 0
Top = 0
Width = 11880
_ExtentX = 20955
_ExtentY = 1191
ButtonWidth = 2090
ButtonHeight = 1032
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "学生信息查询"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "教师信息查询"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "选课信息查询"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "成绩信息编辑"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "成绩信息统计"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "工作量计算"
ImageIndex = 6
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "密码修改"
ImageIndex = 7
EndProperty
EndProperty
End
Begin VB.Menu Stu_info
Caption = "学生信息管理&P"
Index = 1
Begin VB.Menu Stu_edit
Caption = "学生信息编辑"
Index = 11
End
Begin VB.Menu Stu_cx
Caption = "学生信息查询"
Index = 12
End
Begin VB.Menu Stu_in
Caption = "学生信息导入"
Index = 13
End
Begin VB.Menu Stu_out
Caption = "学生信息导出"
Index = 14
End
End
Begin VB.Menu Tea_info
Caption = "教师信息管理&T"
Index = 2
Begin VB.Menu Tea_edit
Caption = "基本信息编辑"
End
Begin VB.Menu Tea_cx
Caption = "基本信息查询"
End
Begin VB.Menu Shouke_edit
Caption = "教学信息编辑"
End
Begin VB.Menu Keyan_edit
Caption = "科研信息编辑"
End
Begin VB.Menu Gzl_tj
Caption = "工作量计算"
End
End
Begin VB.Menu Les_info
Caption = "选课信息管理&L"
Index = 3
Begin VB.Menu Les_cx
Caption = "选课信息查询"
End
Begin VB.Menu Les_in
Caption = "选课信息导入"
End
End
Begin VB.Menu Class_info
Caption = "课程信息管理&C"
End
Begin VB.Menu Grade_info
Caption = "成绩信息管理&G"
Begin VB.Menu Grade_edit
Caption = "成绩信息编辑"
End
Begin VB.Menu Grade_tj
Caption = "成绩信息统计"
End
Begin VB.Menu Cx_info
Caption = "重修信息查询"
End
End
Begin VB.Menu System
Caption = "系统设置&S"
Begin VB.Menu Adduser
Caption = "添加用户"
End
Begin VB.Menu Pwdmod
Caption = "修改密码"
End
Begin VB.Menu Exit
Caption = "退出系统"
Index = 4
End
End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "RVB_UniqueId" ,"41FF01DF024C"
Attribute VB_Ext_KEY = "RVB_ModelStereotype" ,"MDI Form"
Private Sub Adduser_Click() '显示添加用户界面
Form10.Show
End Sub
Private Sub Class_info_Click()
form12.Show '显示课程信息管理界面
form12.SetFocus
End Sub
Private Sub Cx_info_Click() '重修信息查询菜单
Form13.Show
Form13.SetFocus
End Sub
Private Sub Exit_Click(Index As Integer) '退出系统菜单
Dim re As Integer
re = MsgBox("您真的要离开吗?", 4 + 32 + 256, "请确认")
If re = 6 Then
Unload Me
End If
End Sub
Private Sub Grade_edit_Click() '成绩信息编辑菜单
Form8.Show '显示成绩编辑界面
Form8.SetFocus
End Sub
Private Sub Grade_tj_Click() '成绩信息统计菜单
Form9.Show '显示成绩统计界面
Form9.SetFocus
End Sub
Private Sub Gzl_tj_Click() '工作量计算菜单
Form19.Show
Form19.SetFocus
End Sub
Private Sub Keyan_edit_Click() '科研信息编辑菜单
Form18.Show
Form18.SetFocus
End Sub
Private Sub Les_cx_Click() '选课信息查询菜单
Form7.Show '显示选课查询界面
Form7.SetFocus
End Sub
Private Sub Les_in_Click() '选课信息导入按钮
Form16.Show
Form16.SetFocus
End Sub
Private Sub MDIForm_Load()
StatusBar1(0).Panels(2).Text = "当前用户:" & Trim(UserName)
StatusBar1(0).Panels(3).Text = Format(Now, "yyyy" & "年" & "M" & "月" & "d" & "日" & " aaaa")
StatusBar1(0).Panels(4).Text = Format(Now, "H:mm:ss")
End Sub
Private Sub Pwdmod_Click() '密码修改菜单
Form11.Show
Form11.SetFocus
End Sub
Private Sub Shouke_edit_Click()
Form17.Show
'Form17.SetFocus
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -