📄 frm_main.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.MDIForm frm_main
BackColor = &H8000000C&
Caption = "学生信息管理系统"
ClientHeight = 5100
ClientLeft = 165
ClientTop = 735
ClientWidth = 9690
Icon = "frm_main.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 480
Left = 0
TabIndex = 2
Top = 0
Width = 9690
_ExtentX = 17092
_ExtentY = 847
ButtonWidth = 714
ButtonHeight = 688
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 2
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "show"
Object.ToolTipText = "显示垂直菜单"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "hide"
Object.ToolTipText = "隐藏垂直菜单"
ImageIndex = 2
EndProperty
EndProperty
End
Begin VB.PictureBox PicCaption
Align = 1 'Align Top
AutoRedraw = -1 'True
AutoSize = -1 'True
BorderStyle = 0 'None
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 720
Left = 0
Picture = "frm_main.frx":030A
ScaleHeight = 720
ScaleWidth = 9690
TabIndex = 0
TabStop = 0 'False
Top = 480
Visible = 0 'False
Width = 9690
Begin VB.PictureBox PicBorder
AutoRedraw = -1 'True
AutoSize = -1 'True
BorderStyle = 0 'None
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 150
Left = 135
Picture = "frm_main.frx":16B4C
ScaleHeight = 150
ScaleWidth = 1050
TabIndex = 1
TabStop = 0 'False
Top = 225
Visible = 0 'False
Width = 1050
End
End
Begin MSComctlLib.ImageList ImageList1
Left = 6840
Top = 810
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 20
ImageHeight = 20
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 2
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frm_main.frx":173D6
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frm_main.frx":176F0
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnu_Matriculation
Caption = "学生入学管理"
Begin VB.Menu mnu_addnewstudent
Caption = "招生报名登记"
End
Begin VB.Menu mnu_setfee
Caption = "学费收缴设置"
End
Begin VB.Menu mnu_setcourse
Caption = "专业课程设置"
End
Begin VB.Menu mnu_setclass
Caption = "班级设置"
End
End
Begin VB.Menu mnu_Mark
Caption = "学生成绩管理"
Begin VB.Menu mnu_enterforexam
Caption = "考试报名登记"
End
Begin VB.Menu mnu_addmark
Caption = "成绩录入"
End
Begin VB.Menu mnu_statmark
Caption = "成绩统计"
End
End
Begin VB.Menu mnu_status
Caption = "学生学籍管理"
Begin VB.Menu mnu_setstatus
Caption = "学生学籍维护"
End
Begin VB.Menu mnu_showrisepictrue
Caption = "升学率图示"
End
End
Begin VB.Menu mnu_report
Caption = "报表打印"
Begin VB.Menu mnu_stdmsgrpt
Caption = "学生信息名单"
End
Begin VB.Menu meu_stdexmrpt
Caption = "学生考试名单"
End
Begin VB.Menu mnu_stdmarkrpt
Caption = "学生成绩名单"
End
End
Begin VB.Menu mnu_setsystem
Caption = "系统管理"
Begin VB.Menu mnu_setsystemparam
Caption = "系统参数设置"
End
Begin VB.Menu mnu_exit
Caption = "退出系统"
End
End
Begin VB.Menu mnu_help
Caption = "帮助"
Begin VB.Menu mnu_about
Caption = "关于..."
End
End
End
Attribute VB_Name = "frm_main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim myrpt As Cls_Report
Private m_cN As MySkin.cNeoCaption
Dim opened As Integer
Private Sub MDIForm_Load()
Set m_cN = New cNeoCaption
Skin Me, m_cN
frm_menu.Show
End Sub
Private Sub MDIForm_Resize()
frm_menu.Top = 0
frm_menu.Height = Me.Height
End Sub
Private Sub meu_stdexmrpt_Click()
frm_examreport.Show 1
End Sub
Private Sub mnu_about_Click()
frm_about.Show
End Sub
Private Sub mnu_addmark_Click()
frm_addmark.Show
End Sub
Private Sub mnu_addnewstudent_Click()
frm_addnewstudent.Show
End Sub
Private Sub mnu_enterforexam_Click()
frm_enterforexam.Show
End Sub
Private Sub mnu_exit_Click()
End
End Sub
Private Sub mnu_setclass_Click()
frm_setclass.Show
End Sub
Private Sub mnu_setcourse_Click()
frm_setcourse.Show
End Sub
Private Sub mnu_setfee_Click()
frm_setfee.Show
End Sub
Private Sub mnu_setstatus_Click()
frm_setstatus.Show
End Sub
Private Sub mnu_setsystemparam_Click()
frm_setsystem.Show
End Sub
Private Sub mnu_showrisepictrue_Click()
frm_risepicture.Show
End Sub
Private Sub mnu_showriseprictrue_Click()
End Sub
Private Sub mnu_statmark_Click()
frm_statmark.Show
End Sub
Private Sub mnu_stdmarkrpt_Click()
frm_markreport.Show 1
End Sub
Private Sub mnu_stdmsgrpt_Click()
frm_studentreport.Show 1
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "show"
frm_menu.Visible = True
Case "hide"
frm_menu.Hide
End Select
End Sub
Public Sub Skin(f As Object, cN As MySkin.cNeoCaption)
cN.ActiveCaptionColor = &HFFFFFF
cN.InActiveCaptionColor = &HC0C0C0
cN.ActiveMenuColor = &H0&
cN.ActiveMenuColorOver = &H0
cN.InActiveMenuColor = &H0&
cN.MenuBackgroundColor = RGB(207, 203, 207)
cN.CaptionFont.Name = "宋体"
cN.CaptionFont.Size = 9
cN.MenuFont.Name = "宋体"
cN.MenuFont.Size = 9
cN.Attach f, f.PicCaption.Picture, f.PicBorder.Picture, 19, 20, 90, 140, 240, 400
f.BackColor = RGB(207, 203, 207)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -