frmxsgl.frm

来自「小型学生管理系统!做的很不错的一个东西! 大家可以看看!不好的地方请指点」· FRM 代码 · 共 113 行

FRM
113
字号
VERSION 5.00
Begin VB.Form FrmXsGl 
   BackColor       =   &H00C0E0FF&
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   " 教学管理"
   ClientHeight    =   4755
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7215
   Icon            =   "FrmXsGl.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4755
   ScaleWidth      =   7215
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      BackColor       =   &H00C0FFFF&
      Caption         =   "学生信息管理"
      Height          =   615
      Left            =   1320
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   2520
      Width           =   1815
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0FFFF&
      Caption         =   "学生信息显示/删除"
      Height          =   615
      Left            =   3960
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   1440
      Width           =   1815
   End
   Begin VB.CommandButton CmdExit 
      BackColor       =   &H00C0FFFF&
      Caption         =   "退出"
      Height          =   615
      Left            =   3960
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   2520
      Width           =   1815
   End
   Begin VB.CommandButton CmdXsda 
      BackColor       =   &H00C0FFFF&
      Caption         =   "学生档案录入"
      Height          =   615
      Left            =   1320
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   1440
      Width           =   1815
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "学生成绩管理系统"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00816AEA&
      Height          =   495
      Left            =   1080
      TabIndex        =   0
      Top             =   240
      Width           =   5055
   End
End
Attribute VB_Name = "FrmXsGl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdExit_Click()
    Unload Me
End Sub

Private Sub CmdXsda_Click()
    frmXxlu.Show
    
End Sub

Private Sub Command1_Click()
    frmCx.Show
End Sub

Private Sub Command2_Click()
    frmCx.Show vbModal
End Sub

Private Sub Form_Load()
    cnn.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=student;Data Source=."
    cnn.Open
End Sub

Private Sub Form_Terminate()
    If cnn.State <> 0 Then '已经使用过Cnn
        cnn.Close
    End If
    Set cnn = Nothing
End Sub

⌨️ 快捷键说明

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