📄 main.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form main
Caption = "Form3"
ClientHeight = 6300
ClientLeft = 165
ClientTop = 735
ClientWidth = 8280
LinkTopic = "Form3"
ScaleHeight = 6300
ScaleWidth = 8280
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox Picture1
AutoSize = -1 'True
Height = 5130
Left = 360
Picture = "main.frx":0000
ScaleHeight = 5070
ScaleWidth = 7635
TabIndex = 1
Top = 840
Width = 7695
End
Begin MSComctlLib.ImageList ImageList1
Left = 600
Top = 1200
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 25
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 6
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":850F
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":8EC1
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":9873
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":A225
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":ABD7
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":B589
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 5925
Width = 8280
_ExtentX = 14605
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 1
TextSave = "2005-1-4"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 1
TextSave = "8:33"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 6175
MinWidth = 6175
Text = "学生管理系统"
TextSave = "学生管理系统"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 765
Left = 0
TabIndex = 2
Top = 0
Width = 8280
_ExtentX = 14605
_ExtentY = 1349
ButtonWidth = 1535
ButtonHeight = 1191
Appearance = 1
ImageList = "ImageList1"
DisabledImageList= "ImageList1"
HotImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 16
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "删除学生"
Key = "deluser"
ImageIndex = 3
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "增添学生 "
Key = "addstu"
ImageIndex = 2
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "删除课程 "
Key = "shan"
ImageIndex = 4
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "添加课程"
Key = "addsub"
ImageIndex = 1
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "课程设置"
Key = "setcourse"
ImageIndex = 4
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "成绩显示"
Key = "xianshi"
ImageIndex = 1
EndProperty
BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "密码修改"
Key = "xiugai"
ImageIndex = 3
EndProperty
BeginProperty Button15 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button16 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "排名"
Key = "paiming"
ImageIndex = 5
EndProperty
EndProperty
Begin MSComctlLib.ImageList ImageList2
Left = 2280
Top = 840
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 24
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 1
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "main.frx":BF3B
Key = ""
EndProperty
EndProperty
End
End
Begin VB.Menu stumanage
Caption = "学生信息管理"
Begin VB.Menu add
Caption = "添加学生信息"
End
Begin VB.Menu chan
Caption = "修改学生信息"
End
Begin VB.Menu shanchu
Caption = "删除学生信息"
End
End
Begin VB.Menu d
Caption = "学生成绩查询"
End
Begin VB.Menu s
Caption = "课程管理"
Begin VB.Menu tianjia
Caption = "添加课程"
End
Begin VB.Menu shezhi
Caption = "课程设置"
End
End
Begin VB.Menu as
Caption = "密码修改"
End
Begin VB.Menu f
Caption = "统计信息"
Begin VB.Menu arrange
Caption = "平均分排名"
End
Begin VB.Menu chongxiu
Caption = "每门课重修率"
End
End
Begin VB.Menu ren
Caption = "重新登陆"
End
Begin VB.Menu exit
Caption = "退出"
End
End
Attribute VB_Name = "main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub add_Click()
Load addstu
addstu.Show
End Sub
Private Sub arrange_Click()
Load tongji
tongji.Show
End Sub
Private Sub as_Click()
Load ChangePwd
ChangePwd.StatusBar1.Panels(4).Text = main.StatusBar1.Panels(4).Text
ChangePwd.Show
End Sub
Private Sub chan_Click()
Load xueji
xueji.Show
End Sub
Private Sub chaxun_Click()
End Sub
Private Sub chongxiu_Click()
Load tongji
tongji.Show
End Sub
Private Sub d_Click()
Load chengji
chengji.Show
End Sub
Private Sub exit_Click()
End
End Sub
Private Sub input_Click()
End Sub
Private Sub manager_Click()
End Sub
Private Sub ren_Click()
Load Denglu
Denglu.Show
Unload Me
End Sub
Private Sub search_Click()
Load chengji
chengji.Show
End Sub
Private Sub shanchu_Click()
Load xueji
xueji.Show
End Sub
Private Sub shezhi_Click()
Load courset
courset.Show
End Sub
Private Sub tianjia_Click()
Load AddSub
AddSub.Show
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case Is = "setcourse"
Load courset
courset.Show
Case Is = "deluser"
Load xueji
xueji.Show
Case Is = "addstu"
Load addstu
addstu.Show
Case Is = "shan"
Load AddSub
AddSub.Show
Case Is = "addsub"
Load AddSub
AddSub.Show
Case Is = "setcourse"
Load courset
courset.Show
Case Is = "xianshi"
Load chengji
chengji.Show
Case Is = "xiugai"
Load ChangePwd
ChangePwd.StatusBar1.Panels(4).Text = main.StatusBar1.Panels(4).Text
ChangePwd.Show
ChangePwd.Show
Case Is = "paiming"
Load tongji
tongji.Show
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -