frmMain.frm
上传用户:rocksue
上传日期:2013-06-17
资源大小:41926k
文件大小:5k
- VERSION 5.00
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
- Begin VB.MDIForm frmMain
- BackColor = &H8000000C&
- Caption = "学生信息管理信息系统"
- ClientHeight = 4956
- ClientLeft = 132
- ClientTop = 432
- ClientWidth = 7272
- LinkTopic = "MDIForm1"
- StartUpPosition = 2 'CenterScreen
- WindowState = 2 'Maximized
- Begin MSComctlLib.StatusBar sbStatusBar
- Align = 2 'Align Bottom
- Height = 264
- Left = 0
- TabIndex = 0
- Top = 4692
- Width = 7272
- _ExtentX = 12827
- _ExtentY = 466
- _Version = 393216
- BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
- NumPanels = 3
- BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 1
- Object.Width = 7218
- Text = "Status"
- TextSave = "Status"
- EndProperty
- BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 6
- AutoSize = 2
- TextSave = "2001-10-25"
- EndProperty
- BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 5
- AutoSize = 2
- TextSave = "21:19"
- EndProperty
- EndProperty
- End
- Begin VB.Menu sysMenu
- Caption = "系统"
- Begin VB.Menu adduserMenu
- Caption = "添加用户"
- End
- Begin VB.Menu modifypwdMenu
- Caption = "修改密码"
- End
- Begin VB.Menu exitMenu
- Caption = "退出系统"
- End
- End
- Begin VB.Menu sinfoMenu
- Caption = "学籍管理"
- Begin VB.Menu addsinfoMenu
- Caption = "添加学籍信息"
- End
- Begin VB.Menu modifysinfo_Menu
- Caption = "修改学籍信息"
- End
- Begin VB.Menu inquiresinfoMenu
- Caption = "查询学籍信息"
- End
- End
- Begin VB.Menu classinfoMenu
- Caption = "班级管理"
- Begin VB.Menu addcinfoMenu
- Caption = "添加班级信息"
- End
- Begin VB.Menu modifycinfoMenu
- Caption = "修改班级信息"
- End
- End
- Begin VB.Menu coursesetMenu
- Caption = "课程设置"
- Begin VB.Menu addcourseMenu
- Caption = "添加课程信息"
- End
- Begin VB.Menu modifycourseMenu
- Caption = "修改课程信息"
- End
- Begin VB.Menu gradecourseMenu
- Caption = "设置年级课程"
- End
- End
- Begin VB.Menu resultMenu
- Caption = "成绩管理"
- Begin VB.Menu addresultMenu
- Caption = "添加成绩信息"
- End
- Begin VB.Menu modifyresultMenu
- Caption = "修改成绩信息"
- End
- Begin VB.Menu inquireresultMenu
- Caption = "查询成绩信息"
- End
- End
- Begin VB.Menu helpMenu
- Caption = "帮助"
- Begin VB.Menu howtoMenu
- Caption = "使用说明"
- End
- Begin VB.Menu about
- Caption = "有关"
- End
- End
- End
- Attribute VB_Name = "frmMain"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub addcinfoMenu_Click()
- frmAddclassinfo.Show
- End Sub
- Private Sub addcourseMenu_Click()
- frmAddcourseinfo.Show
- End Sub
- Private Sub addresultMenu_Click()
- frmAddresult.Show
- End Sub
- Private Sub addsinfoMenu_Click()
- frmAddsinfo.Show
- End Sub
- Private Sub adduserMenu_Click()
- frmAdduser.Show
- sbStatusBar.Panels(1).Text = "添加用户"
- End Sub
- Private Sub exitMenu_Click()
- End
- End Sub
- Private Sub exitsinfoMenu_Click()
- Unload frminquireinfo
- End Sub
- Private Sub gradecourseMenu_Click()
- frmSetcourseinfo.Show
- End Sub
- Private Sub inquireresultMenu_Click()
- frmInquireresult.Show
- End Sub
- Private Sub inquiresinfoMenu_Click()
- frmInquiresinfo.Show
- End Sub
- Private Sub MDIForm_Load()
- Me.Left = GetSetting(App.Title, "Settings", "MainLeft", 1000)
- Me.Top = GetSetting(App.Title, "Settings", "MainTop", 1000)
- Me.Width = GetSetting(App.Title, "Settings", "MainWidth", 6500)
- Me.Height = GetSetting(App.Title, "Settings", "MainHeight", 6500)
-
- End Sub
- Private Sub MDIForm_Unload(Cancel As Integer)
- If Me.WindowState <> vbMinimized Then
- SaveSetting App.Title, "Settings", "MainLeft", Me.Left
- SaveSetting App.Title, "Settings", "MainTop", Me.Top
- SaveSetting App.Title, "Settings", "MainWidth", Me.Width
- SaveSetting App.Title, "Settings", "MainHeight", Me.Height
- End If
- End Sub
- Private Sub modifycinfoMenu_Click()
- frmModifyclassinfo.Show
- End Sub
- Private Sub modifycourseMenu_Click()
- frmModifycourseinfo.Show
- End Sub
- Private Sub modifypwdMenu_Click()
- frmModifyuserinfo.Show
- End Sub
- Private Sub modifyresultMenu_Click()
- frmModifyresult.Show
- End Sub
- Private Sub modifysinfo_Menu_Click()
- frmModifysinfo.Show
- End Sub