📄 mdiform1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.MDIForm 学生信息管理系统
BackColor = &H80000004&
Caption = "学生信息管理系统"
ClientHeight = 7695
ClientLeft = 165
ClientTop = 210
ClientWidth = 10680
Icon = "MDIForm1.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 300
Left = 0
TabIndex = 0
Top = 7395
Width = 10680
_ExtentX = 18838
_ExtentY = 529
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 7056
MinWidth = 7056
Text = "东华理工学院学生信息管理系统"
TextSave = "东华理工学院学生信息管理系统"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 4304
MinWidth = 4304
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 5292
MinWidth = 5292
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 5293
MinWidth = 5293
EndProperty
EndProperty
OLEDropMode = 1
End
Begin VB.Menu xitong
Caption = "系统管理 &(O)"
NegotiatePosition= 3 'Right
Begin VB.Menu useradd
Caption = "添加用户"
Shortcut = ^A
End
Begin VB.Menu denglu2
Caption = "重新登陆"
Shortcut = ^{F1}
End
Begin VB.Menu tuichu
Caption = "退出"
Shortcut = ^E
End
End
Begin VB.Menu class
Caption = "班级管理&(P)"
NegotiatePosition= 2 'Middle
Begin VB.Menu classapp
Caption = "添加班级"
Shortcut = ^D
End
Begin VB.Menu classfind
Caption = "班级查询"
End
Begin VB.Menu classbrowse
Caption = "班级浏览"
Shortcut = ^C
End
End
Begin VB.Menu dangan
Caption = "学生档案管理&(T)"
Begin VB.Menu add
Caption = "档案添加"
Shortcut = ^F
End
Begin VB.Menu claasfind
Caption = "档案查询"
Shortcut = ^H
End
Begin VB.Menu liulan
Caption = "档案浏览"
Shortcut = ^G
End
End
Begin VB.Menu jiaofei
Caption = "学生交费管理&(M)"
Begin VB.Menu xuefei
Caption = "基本学费设置"
Begin VB.Menu xuefeiadd
Caption = "学费设置添加"
Shortcut = ^K
End
Begin VB.Menu xuefeifind
Caption = "学费设置查询 "
Shortcut = ^L
End
Begin VB.Menu xuefeibrowse
Caption = "学费设置浏览"
Shortcut = ^J
End
End
Begin VB.Menu ee
Caption = "-"
End
Begin VB.Menu jiaofeiadd
Caption = "学生交费添加"
Shortcut = ^N
End
Begin VB.Menu jiaofeibrowse
Caption = "学生交费浏览"
Shortcut = ^M
End
End
Begin VB.Menu kechengguanli
Caption = "课程管理&(R)"
Begin VB.Menu jibenkecheng
Caption = "基本课程设置"
Shortcut = ^P
End
Begin VB.Menu qw
Caption = "-"
End
Begin VB.Menu classkecheng
Caption = "班级课程设置"
Shortcut = ^Q
End
End
Begin VB.Menu cjguanli
Caption = "成绩管理&(F)"
Begin VB.Menu leixing
Caption = "考试类型设置"
Shortcut = ^R
End
Begin VB.Menu cjadd
Caption = "成绩添加"
Shortcut = ^S
End
Begin VB.Menu cjfind
Caption = "成绩查询"
Shortcut = ^U
End
Begin VB.Menu cjbrowse
Caption = "成绩浏览"
Shortcut = ^T
End
End
Begin VB.Menu help
Caption = "帮助&(B)"
End
End
Attribute VB_Name = "学生信息管理系统"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Dim find1 As Integer
Dim liulan1 As Integer
Private Sub add_Click()
qxstr = Executeqx(2)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
档案添加.Show
modi = False
档案添加.ZOrder (0)
End Sub
Private Sub cjadd_Click()
qxstr = Executeqx(4)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
成绩添加.Show
成绩添加.ZOrder 0
End Sub
Private Sub cjbrowse_Click()
qxstr = Executeqx(4)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
成绩浏览.Show
成绩浏览.ZOrder 0
End Sub
Private Sub cjfind_Click()
qxstr = Executeqx(4)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
成绩查询.Show
成绩查询.ZOrder
End Sub
Private Sub claasfind_Click()
qxstr = Executeqx(2)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
档案查询.Show
档案查询.ZOrder (0)
i = SetWindowPos(档案查询.hwnd, -1, 0, 0, 0, 0, 3)
End Sub
Private Sub classapp_Click()
qxstr = Executeqx(2)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
添加班级.Show
classmodi = False
添加班级.classload
添加班级.ZOrder (0)
End Sub
Public Sub clabrowse()
txtsql = "select * from class"
班级浏览.ZOrder (0)
班级浏览.Caption = "浏览班级设置"
班级浏览.classshowtitle
班级浏览.classshowdata
End Sub
Private Sub classbrowse_Click()
qxstr = Executeqx(2)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
班级浏览.Show
End Sub
Private Sub classfind_Click()
qxstr = Executeqx(2)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
班级查询.Show
班级查询.ZOrder (0)
End Sub
Private Sub find_Click()
End Sub
Private Sub classkecheng_Click()
qxstr = Executeqx(4)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
班级课程设置.Show
班级课程设置.ZOrder
End Sub
Private Sub denglu2_Click()
登陆.Show
Unload Me
End Sub
Private Sub jiaofeiadd_Click()
qxstr = Executeqx(3)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
学费设置添加.Show
学费设置添加.ZOrder 0
End Sub
Private Sub jiaofeibrowse_Click()
qxstr = Executeqx(3)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
学生交费浏览.Show
学生交费浏览.ZOrder 0
End Sub
Private Sub jiaofeifind_Click()
qxstr = Executeqx(3)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
End Sub
Private Sub jibenkecheng_Click()
qxstr = Executeqx(4)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
基本课程设置.Show
基本课程设置.ZOrder 0
End Sub
Private Sub leixing_Click()
qxstr = Executeqx(4)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
考试类型设置.Show
考试类型设置.ZOrder 0
End Sub
Private Sub liulan_Click()
qxstr = Executeqx(2)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
find = False
浏览学生档案.Show
End Sub
Private Sub MDIForm_Load()
DataEnv1.Connection1.ConnectionString = connstring
StatusBar1.Panels(2).Text = Now
StatusBar1.Panels(3).Text = "当前操作员: " & username
Dim aa As String
Select Case Executeqx(1)
Case "admin"
aa = "管理员"
Case "readonly"
aa = "普通用户"
End Select
StatusBar1.Panels(4).Text = "状态: " & aa
End Sub
Private Sub tuichu_Click()
Unload Me
End Sub
Private Sub useradd_Click()
qxstr = Executeqx(1)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
添加用户.Show
添加用户.ZOrder 0
End Sub
Private Sub usermodi_Click()
qxstr = Executeqx(1)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
End Sub
Private Sub xuefeiadd_Click()
qxstr = Executeqx(3)
If qxstr = "false" Or qxstr = "readonly" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
xuefeimodi = False
Dim i As Integer
For i = 0 To 3
学费设置.Combo1(i).Enabled = True
Next i
Me.Caption = "添加班级设置"
For i = 0 To 3
学费查询.Combo1(i).Text = ""
Next i
学费设置.Text1.Text = ""
学费设置.Show
学费设置.ZOrder 0
End Sub
Public Sub xfbrowse()
txtsql = "select * from xuefei order by 学期 desc, 年级 desc,专业 desc"
Frmxuefei2.ZOrder (0)
Frmxuefei2.Caption = "浏览学费设置"
Frmxuefei2.xuefeishowtitle
Frmxuefei2.xuefeishowdata
End Sub
Private Sub xuefeibrowse_Click()
qxstr = Executeqx(3)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
学费设置浏览.Show
End Sub
Private Sub xuefeifind_Click()
qxstr = Executeqx(3)
If qxstr = "false" Then
ss = MsgBox("对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告")
Exit Sub
End If
学费查询.Show
学费查询.ZOrder (0)
i = SetWindowPos(学费查询.hwnd, -1, 0, 0, 0, 0, 3)
End Sub
Private Sub help_Click()
qxstr = Executeqx(3)
帮助.Show
帮助.ZOrder (0)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -