⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mdiform1.frm

📁 用VB连接ORalce数据库的学生管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm MDIForm1 
   BackColor       =   &H80000003&
   Caption         =   "学生选课管理系统"
   ClientHeight    =   7440
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   9930
   Icon            =   "MDIForm1.frx":0000
   LinkTopic       =   "MDIForm1"
   Picture         =   "MDIForm1.frx":0442
   StartUpPosition =   3  '窗口缺省
   WindowState     =   2  'Maximized
   Begin MSAdodcLib.Adodc Adodc1 
      Align           =   1  'Align Top
      Height          =   330
      Left            =   0
      Top             =   0
      Visible         =   0   'False
      Width           =   9930
      _ExtentX        =   17515
      _ExtentY        =   582
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   8
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   ""
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   "he"
      Password        =   "he"
      RecordSource    =   ""
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   300
      Left            =   0
      TabIndex        =   0
      Top             =   7140
      Width           =   9930
      _ExtentX        =   17515
      _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            =   "学 生 信 息 管 理 系 统 ..cxqing"
            TextSave        =   "学 生 信 息 管 理 系 统 ..cxqing"
         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 usermodi 
         Caption         =   "修改用户信息"
         Shortcut        =   ^B
      End
      Begin VB.Menu denglu2 
         Caption         =   "重新登陆"
         Shortcut        =   ^{F1}
      End
      Begin VB.Menu exit 
         Caption         =   "退出系统"
         Shortcut        =   ^{F2}
      End
   End
   Begin VB.Menu class 
      Caption         =   "班级管理 &(Q)"
      Begin VB.Menu classbrowse 
         Caption         =   "班级浏览"
         Shortcut        =   ^I
      End
      Begin VB.Menu classapp 
         Caption         =   "添加班级"
         Shortcut        =   ^J
      End
      Begin VB.Menu classfind 
         Caption         =   "班级查询"
         Shortcut        =   ^K
      End
      Begin VB.Menu classmod 
         Caption         =   "班级修改"
         Shortcut        =   ^M
      End
   End
   Begin VB.Menu dangan 
      Caption         =   "学生档案管理 &(T)"
      Begin VB.Menu add 
         Caption         =   "档案添加"
         Shortcut        =   ^F
      End
      Begin VB.Menu liulan 
         Caption         =   "档案浏览"
         Shortcut        =   ^G
      End
      Begin VB.Menu claasfind 
         Caption         =   "档案查询"
         Shortcut        =   ^H
      End
      Begin VB.Menu studentadd 
         Caption         =   "档案修改"
         Shortcut        =   ^L
      End
   End
   Begin VB.Menu kechengguanli 
      Caption         =   "课程管理 &(R)"
      Begin VB.Menu jibenkecheng 
         Caption         =   "课程添加"
         Shortcut        =   ^P
      End
      Begin VB.Menu jibenliulan 
         Caption         =   "课程浏览"
         Shortcut        =   ^Q
      End
      Begin VB.Menu jibenfind 
         Caption         =   "课程查询"
         Shortcut        =   ^R
      End
      Begin VB.Menu jibenmod 
         Caption         =   "课程修改"
         Shortcut        =   ^O
      End
   End
   Begin VB.Menu cjguanli 
      Caption         =   "成绩管理 &(F)"
      Begin VB.Menu cjadd 
         Caption         =   "成绩添加"
         Shortcut        =   ^Z
      End
      Begin VB.Menu cjbrowse 
         Caption         =   "成绩浏览"
         Shortcut        =   ^T
      End
      Begin VB.Menu cjfind 
         Caption         =   "成绩查询"
         Shortcut        =   ^U
      End
      Begin VB.Menu xjfind 
         Caption         =   "成绩修改"
         Shortcut        =   ^N
      End
   End
   Begin VB.Menu tongji 
      Caption         =   "统计 &(T)"
      Begin VB.Menu tongji2 
         Caption         =   "统计"
      End
   End
   Begin VB.Menu help 
      Caption         =   "帮助 &(S)"
      Begin VB.Menu about 
         Caption         =   "关于"
         Shortcut        =   ^S
      End
   End
End
Attribute VB_Name = "MDIForm1"
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 about_Click()
    Form2.Show
    Form2.ZOrder 0
End Sub

Private Sub add_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    Form1.Show
    Form1.ZOrder (0)
End Sub

Private Sub cjadd_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    frmcj2.Show
    frmcj2.ZOrder 0
End Sub

Private Sub cjbrowse_Click()
    frmcj1.Show
    frmcj1.ZOrder 0
End Sub

Private Sub cjfind_Click()
    frmcj3.Show
    frmcj3.ZOrder (0)
End Sub

Private Sub claasfind_Click()
    Form4.Show
    Form4.ZOrder (0)
End Sub

Private Sub classapp_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    Formclass1.Show
    Formclass1.ZOrder (0)
End Sub

Private Sub classbrowse_Click()
    Formclass2.Show
    Formclass2.ZOrder (0)
End Sub

Private Sub classfind_Click()
    Formclass3.Show
    Formclass3.ZOrder (0)
End Sub

Private Sub classmod_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    Formclass4.Show
End Sub

Private Sub denglu2_Click()
    Frmload.Show
    Unload Me
End Sub

Private Sub exit_Click()
    Unload Me
End Sub

Private Sub jibenfind_Click()
    frmjiben3.Show
    frmjiben3.ZOrder (0)
End Sub

Private Sub jibenkecheng_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    frmjiben.Show
    frmjiben.ZOrder 0
End Sub

Private Sub jibenliulan_Click()
    frmjiben2.Show
    frmjiben2.ZOrder (0)
End Sub

Private Sub jibenmod_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    frmjiben4.Show
End Sub

Private Sub liulan_Click()
    Form3.Show
    Form3.ZOrder (0)
End Sub

Private Sub studentadd_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    Form5.Show
End Sub

Private Sub tongji2_Click()
    frmtongji2.Show
    frmtongji2.ZOrder (0)
End Sub

Private Sub useradd_Click()
    mqx = qx()
    If mqx = "user" Then
       MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
     Exit Sub
    End If
    frmuser1.Show
    frmuser1.ZOrder 0
End Sub

Private Sub usermodi_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    frmuser2.Show
    frmuser2.ZOrder 0
End Sub

Private Sub xjfind_Click()
    mqx = qx()
    If mqx = "user" Then
        MsgBox "对不起,你没有管理本功能的权限,请与管理员联系!", vbInformation + vbOKOnly, " 警告"
        Exit Sub
    End If
    frmcj4.Show
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -