📄 主界面.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm MDIForm1
BackColor = &H8000000C&
Caption = "MDIForm1"
ClientHeight = 8670
ClientLeft = 3975
ClientTop = 1875
ClientWidth = 10380
LinkTopic = "MDIForm1"
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList1
Left = 6240
Top = 1200
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 3
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "主界面.frx":0000
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "主界面.frx":0452
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "主界面.frx":08A4
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 855
Left = 0
TabIndex = 1
Top = 0
Width = 10380
_ExtentX = 18309
_ExtentY = 1508
ButtonWidth = 2090
ButtonHeight = 1349
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 3
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "学籍查询"
Key = "xuejichaxun"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "学生成绩查询"
Key = "xueshengchengjichaxun"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "班级查询"
Key = "banjichaxun"
ImageIndex = 3
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 8295
Width = 10380
_ExtentX = 18309
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "制作者:刘志亮"
TextSave = "制作者:刘志亮"
Object.ToolTipText = "欢迎使用本软件"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 7
Alignment = 2
Bevel = 2
Enabled = 0 'False
Text = "xueyu"
TextSave = "xueyu"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 8819
MinWidth = 8819
Text = "欢迎使用本系统!!!"
TextSave = "欢迎使用本系统!!!"
EndProperty
EndProperty
End
Begin VB.Menu f_user
Caption = "用户"
Begin VB.Menu user_tianjia
Caption = "添加"
End
Begin VB.Menu user_xiugaimima
Caption = "修改密码"
End
End
Begin VB.Menu f_chengji
Caption = "学生成绩"
Begin VB.Menu cj_tianjia
Caption = "添加"
End
Begin VB.Menu cj_chaxun
Caption = "查询"
End
Begin VB.Menu cj_xiugai
Caption = "修改"
End
End
Begin VB.Menu f_xueji
Caption = "学籍"
Begin VB.Menu xj_tianjia
Caption = "添加"
End
Begin VB.Menu xj_chaxun
Caption = "查询"
End
Begin VB.Menu xj_xiugai
Caption = "修改"
End
End
Begin VB.Menu class
Caption = "班级"
Begin VB.Menu c_tianjia
Caption = "添加"
End
Begin VB.Menu c_chaxun
Caption = "查询"
End
Begin VB.Menu c_xiugai
Caption = "修改"
End
End
Begin VB.Menu color_set
Caption = "颜色设置"
Visible = 0 'False
Begin VB.Menu c_blue
Caption = "蓝色"
End
Begin VB.Menu c_red
Caption = "红色"
End
Begin VB.Menu c_green
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 c_chaxun_Click()
Form11.Show
End Sub
Private Sub c_tianjia_Click()
Form12.Show
End Sub
Private Sub c_xiugai_Click()
Form10.Show
End Sub
Private Sub cj_chaxun_Click()
Form8.Show
End Sub
Private Sub cj_tianjia_Click()
Form9.Show
End Sub
Private Sub cj_xiugai_Click()
Form7.Show
End Sub
Private Sub MDIForm_Load()
Me.Caption = "学生信息管理系统"
If yonghu <> "user" Then
user_tianjia.Enabled = False
cj_tianjia.Enabled = False
cj_xiugai.Enabled = False
xj_tianjia.Enabled = False
xj_xiugai.Enabled = False
c_tianjia.Enabled = False
c_xiugai.Enabled = False
End If
End Sub
Private Sub MDIForm_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu color_set
End If
End Sub
Private Sub c_red_click()
MDIForm1.BackColor = vbRed
End Sub
Private Sub c_green_click()
MDIForm1.BackColor = vbGreen
End Sub
Private Sub c_blue_click()
MDIForm1.BackColor = vbBlue
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "xuejichaxun"
Form5.Show
Case "xueshengchengjichaxun"
Form8.Show
Case "banjichaxun"
Form11.Show
End Select
End Sub
Private Sub user_tianjia_Click()
Form13.Show
End Sub
Private Sub user_xiugaimima_Click()
Form14.Show
End Sub
Private Sub xj_chaxun_Click()
Form5.Show
End Sub
Private Sub xj_tianjia_Click()
Form6.Show
End Sub
Private Sub xj_xiugai_Click()
Form4.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -