📄 mdiform1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form MDIForm1
Caption = "学生选课系统"
ClientHeight = 6765
ClientLeft = 2055
ClientTop = 1785
ClientWidth = 8820
LinkTopic = "Form1"
ScaleHeight = 6765
ScaleWidth = 8820
Begin VB.Timer Timer1
Interval = 1000
Left = 1920
Top = 6480
End
Begin VB.PictureBox Picture1
Height = 1095
Left = 6480
ScaleHeight = 1035
ScaleWidth = 1875
TabIndex = 7
Top = 0
Width = 1935
End
Begin VB.CommandButton Command5
Caption = "报表"
Height = 1095
Left = 5280
Picture = "MDIForm1.frx":0000
Style = 1 'Graphical
TabIndex = 6
Top = 0
Width = 1215
End
Begin VB.CommandButton Command4
Caption = "图表"
Height = 1095
Left = 3960
Picture = "MDIForm1.frx":08CA
Style = 1 'Graphical
TabIndex = 5
Top = 0
Width = 1215
End
Begin VB.CommandButton Command3
Caption = "课程信息管理"
Height = 1095
Left = 2640
Picture = "MDIForm1.frx":1194
Style = 1 'Graphical
TabIndex = 4
Top = 0
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "教师信息管理"
Height = 1095
Left = 1320
Picture = "MDIForm1.frx":1A5E
Style = 1 'Graphical
TabIndex = 3
Top = 0
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "学生信息管理"
Height = 1095
Left = 0
Picture = "MDIForm1.frx":2328
Style = 1 'Graphical
TabIndex = 1
Top = 0
Width = 1215
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 255
Left = 0
TabIndex = 0
Top = 6510
Width = 8820
_ExtentX = 15558
_ExtentY = 450
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 7
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
AutoSize = 2
Object.Width = 1746
MinWidth = 176
TextSave = "2007-7-26"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "18:11"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 1
Enabled = 0 'False
Text = "CAPS"
TextSave = "CAPS"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 3
Enabled = 0 'False
Text = "Ins"
TextSave = "Ins"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
EndProperty
BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel7 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "学生信息管理系统"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 435
Left = 2520
TabIndex = 2
Top = 3720
Width = 3600
End
Begin VB.Image Image1
Height = 5415
Left = 0
Picture = "MDIForm1.frx":2BF2
Stretch = -1 'True
Top = 1080
Width = 8415
End
Begin VB.Menu sys
Caption = "系统(&S)"
Begin VB.Menu user
Caption = "用户注册"
End
Begin VB.Menu cancel
Caption = "注销"
End
Begin VB.Menu quit
Caption = "退出"
End
Begin VB.Menu b
Caption = "-"
End
Begin VB.Menu denglu
Caption = "登录"
End
Begin VB.Menu a
Caption = "-"
End
Begin VB.Menu user_manage
Caption = "用户管理"
End
End
Begin VB.Menu choice
Caption = "选课(&L)"
Begin VB.Menu student
Caption = "学生信息管理"
End
Begin VB.Menu s_choice
Caption = "学生选课"
End
Begin VB.Menu c
Caption = "-"
End
Begin VB.Menu teacher
Caption = "教师信息管理"
End
Begin VB.Menu course
Caption = "课程信息管理"
End
Begin VB.Menu t_choice
Caption = "教师选课"
End
End
Begin VB.Menu query
Caption = "查询(&Q)"
Begin VB.Menu stchquery
Caption = "学生选课查询"
End
Begin VB.Menu tequery
Caption = "教师查询"
End
End
Begin VB.Menu reports
Caption = "报表(&R)"
Begin VB.Menu chart
Caption = "图表"
End
Begin VB.Menu pr_reports
Caption = "打印报表"
End
End
Begin VB.Menu help
Caption = "帮助(&H)"
Begin VB.Menu about
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 about_Click()
frmAbout.Show
End Sub
Private Sub cancel_Click()
usercancel_frm.Show
End Sub
Private Sub chart_Click()
End Sub
Private Sub Command1_Click()
student_frm.Show
End Sub
Private Sub Command2_Click()
teacher_frm.Show
End Sub
Private Sub Command3_Click()
course_frm.Show
End Sub
Private Sub course_Click()
course_frm.Show
End Sub
Private Sub denglu_Click()
Login_frm.Show
Unload Me
End Sub
Private Sub Form_Load()
StatusBar1.Panels(5).Text = "当前用户:" & UserName
StatusBar1.Panels(6).Text = "权限:" & qx
End Sub
Private Sub pr_reports_Click()
End Sub
Private Sub quit_Click()
End
End Sub
'Private Sub Form_QueryUnload(cancel As Integer, UnloadMode As Integer)
'If MsgBox("系统将要退出" & vbCrLf & vbCrLf & "是否退出?", vbInformation + vbYesNo, "退出提示") = vbNo Then
' cancel = 1
'Else
' Unload Me
' End
'End If
'End Sub
Private Sub s_choice_Click()
s_choice_frm.Show
End Sub
Private Sub stchquery_Click()
query_frm.Show
End Sub
Private Sub student_Click()
student_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 tequery_Click()
query_frm.Show
End Sub
'Private Sub Timer1_Timer()
'StatusBar1.Panels(2).Text = Time
'End Sub
Private Sub user_Click()
user_frm.Show
End Sub
'Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'End Sub
Private Sub user_manage_Click()
user_manage.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -