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

📄 form0502.frm

📁 VB实验教程源码
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form FormCover 
   Caption         =   "学生信息管理"
   ClientHeight    =   3090
   ClientLeft      =   165
   ClientTop       =   855
   ClientWidth     =   7035
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   7035
   StartUpPosition =   3  '窗口缺省
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   720
      Top             =   2160
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483645
      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         =   "Form0502.frx":0000
            Key             =   "InputStr"
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form0502.frx":031A
            Key             =   "InputScore"
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form0502.frx":0634
            Key             =   "InputDep"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   855
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   7035
      _ExtentX        =   12409
      _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             =   "InputStu"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "输入学生成绩"
            Key             =   "InputScore"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "输入部门"
            Key             =   "InputDep"
            ImageIndex      =   3
         EndProperty
      EndProperty
   End
   Begin VB.Label Label1 
      Caption         =   "欢迎使用学生信息管理系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1560
      TabIndex        =   0
      Top             =   1560
      Width           =   3735
   End
   Begin VB.Menu mnuInput 
      Caption         =   "输入数据(&I)"
      Begin VB.Menu mnuInputStu 
         Caption         =   "输入学生信息(&S)"
         Shortcut        =   ^S
      End
      Begin VB.Menu mnuInputScore 
         Caption         =   "输入学生成绩(&O)"
         Shortcut        =   ^O
      End
      Begin VB.Menu mnuInputDep 
         Caption         =   "输入系别"
      End
   End
   Begin VB.Menu mnuQuery 
      Caption         =   "查询数据(&Q)"
      Begin VB.Menu mnuQueryStu 
         Caption         =   "查询学生信息"
      End
      Begin VB.Menu mnuQueryScore 
         Caption         =   "查询学生成绩"
         Shortcut        =   ^G
      End
   End
   Begin VB.Menu mnuOutput 
      Caption         =   "输出数据(&O)"
      Begin VB.Menu mnuOutputTab 
         Caption         =   "显示图表"
      End
      Begin VB.Menu mnuOutputRep 
         Caption         =   "显示报表"
      End
   End
   Begin VB.Menu mnuInputExit 
      Caption         =   "退出(&X)"
      NegotiatePosition=   2  'Middle
   End
   Begin VB.Menu mnuHelp 
      Caption         =   "帮助"
      Visible         =   0   'False
      Begin VB.Menu mnuHelpTopic 
         Caption         =   "主题"
      End
      Begin VB.Menu mnuHelpKey 
         Caption         =   "关键字"
      End
   End
End
Attribute VB_Name = "FormCover"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit


Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
'在窗体上释放鼠标
    If Button = 2 Then                      ' 鼠标右键
            PopupMenu mnuHelp
        End If
End Sub

Private Sub mnuInputDep_Click()
'打开输入系别窗体
    Form3.Show
End Sub

Private Sub mnuInputExit_Click()
'退出
    Unload Me
End Sub

Private Sub mnuInputScore_Click()
'打开输入学生成绩窗体
    Form2.Show
End Sub

Private Sub mnuInputStu_Click()
'打开输入学生信息窗体
    Form1.Show
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
    Select Case Button.Index
        Case 1
             '打开输入学生信息窗体
                Form1.Show
        Case 2
            ' 打开输入学生成绩窗体
            Form2.Show
        Case 3
            ' 打开输入部门窗体
            Form3.Show
    End Select

End Sub

⌨️ 快捷键说明

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