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

📄 form2.frm

📁 是自己编写的学生学籍管理系统.其中添加了查询、插入、删除等功能。
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "工商0102数据库第2页"
   ClientHeight    =   6195
   ClientLeft      =   1875
   ClientTop       =   1695
   ClientWidth     =   6825
   LinkTopic       =   "form2"
   ScaleHeight     =   6195
   ScaleWidth      =   6825
   Begin VB.CommandButton Command3 
      Caption         =   "全库浏览"
      Height          =   495
      Left            =   1680
      TabIndex        =   6
      Top             =   4560
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      BackColor       =   &H00C0E0FF&
      Caption         =   "编辑及按学号查找"
      Height          =   495
      Left            =   360
      TabIndex        =   5
      Top             =   3960
      Width           =   2295
   End
   Begin VB.CommandButton Command7 
      Caption         =   "退出"
      Height          =   735
      Left            =   1680
      TabIndex        =   4
      Top             =   5160
      Width           =   975
   End
   Begin VB.CommandButton Command5 
      Caption         =   "根据相同特征查找"
      Height          =   735
      Left            =   360
      TabIndex        =   3
      Top             =   5160
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "逐个浏览"
      Height          =   495
      Left            =   360
      TabIndex        =   2
      Top             =   4560
      Width           =   975
   End
   Begin VB.PictureBox Picture1 
      Height          =   6255
      Left            =   0
      Picture         =   "Form2.frx":0000
      ScaleHeight     =   6195
      ScaleWidth      =   6795
      TabIndex        =   0
      Top             =   0
      Width           =   6855
      Begin VB.Timer Timer1 
         Interval        =   300
         Left            =   720
         Top             =   1320
      End
      Begin VB.Label Label1 
         BackColor       =   &H8000000E&
         BackStyle       =   0  'Transparent
         Caption         =   "欢迎进入由工商02班吴双梅为你设计的数据库"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   26.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000FF&
         Height          =   3855
         Left            =   120
         TabIndex        =   1
         Top             =   120
         Width           =   1695
      End
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Hide
Form3.Show

End Sub

Private Sub Command2_Click()
Form2.Hide
Form4.Show

End Sub




Private Sub Command3_Click()
Form2.Hide
Form5.Show

End Sub

Private Sub Command4_Click()
Dim mno As String
mno = InputBox$("请输入学号", "搜索快乐之星")
Data1.Recordset.FindFirst " 学号='" & mno & "'"
If Data1.Recordset.NoMatch Then MsgBox "无此学号!", , "真遗憾"




End Sub

Private Sub Command5_Click()
Form2.Hide
Form6.Show

End Sub

Private Sub Command7_Click()
Form2.Hide
Form1.Show

End Sub

Private Sub Timer1_Timer()
Randomize
Label1.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
End Sub

⌨️ 快捷键说明

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