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

📄 a教师设置.frm

📁 派克系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form A教师设置 
   Caption         =   "教师设置"
   ClientHeight    =   5235
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6360
   LinkTopic       =   "Form3"
   ScaleHeight     =   5235
   ScaleWidth      =   6360
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame2 
      Caption         =   "编辑教师信息"
      Height          =   2535
      Left            =   0
      TabIndex        =   2
      Top             =   2640
      Width           =   6255
      Begin VB.ComboBox CboCourse 
         Height          =   315
         Left            =   1200
         TabIndex        =   19
         Top             =   720
         Width           =   1575
      End
      Begin VB.TextBox txtEmail 
         Appearance      =   0  'Flat
         Height          =   375
         Left            =   1200
         MaxLength       =   50
         TabIndex        =   17
         Top             =   1200
         Width           =   4815
      End
      Begin VB.Frame Frame4 
         Height          =   735
         Left            =   720
         TabIndex        =   6
         Top             =   1680
         Width           =   5295
         Begin VB.CommandButton CmdSave 
            BackColor       =   &H00C0C0C0&
            Caption         =   "保存"
            Enabled         =   0   'False
            Height          =   360
            Left            =   2640
            Style           =   1  'Graphical
            TabIndex        =   12
            Top             =   240
            Width           =   800
         End
         Begin VB.CommandButton CmdAdd 
            BackColor       =   &H00C0C0C0&
            Caption         =   "添加"
            Height          =   360
            Left            =   240
            Style           =   1  'Graphical
            TabIndex        =   11
            Top             =   240
            Width           =   800
         End
         Begin VB.CommandButton CmdDelete 
            BackColor       =   &H00C0C0C0&
            Caption         =   "删除"
            Height          =   360
            Left            =   1845
            Style           =   1  'Graphical
            TabIndex        =   10
            Top             =   240
            Width           =   800
         End
         Begin VB.CommandButton CmdCancel 
            BackColor       =   &H00C0C0C0&
            Caption         =   "取消"
            Height          =   360
            Left            =   3435
            Style           =   1  'Graphical
            TabIndex        =   9
            Top             =   240
            Width           =   800
         End
         Begin VB.CommandButton CmdExit 
            BackColor       =   &H00C0C0C0&
            Caption         =   "退出"
            Height          =   360
            Left            =   4230
            Style           =   1  'Graphical
            TabIndex        =   8
            Top             =   240
            Width           =   800
         End
         Begin VB.CommandButton CmdModify 
            BackColor       =   &H00C0C0C0&
            Caption         =   "修改"
            Height          =   360
            Left            =   1050
            Style           =   1  'Graphical
            TabIndex        =   7
            Top             =   240
            Width           =   800
         End
      End
      Begin VB.TextBox txtName 
         Appearance      =   0  'Flat
         Height          =   375
         Left            =   4440
         MaxLength       =   50
         TabIndex        =   5
         Top             =   240
         Width           =   1575
      End
      Begin VB.TextBox txtId 
         Appearance      =   0  'Flat
         Height          =   375
         Left            =   1200
         MaxLength       =   6
         TabIndex        =   4
         Top             =   240
         Width           =   1575
      End
      Begin VB.TextBox txtPhone 
         Appearance      =   0  'Flat
         Height          =   375
         Left            =   4440
         MaxLength       =   50
         TabIndex        =   3
         Top             =   720
         Width           =   1575
      End
      Begin VB.Label Label8 
         Caption         =   "(6位)"
         ForeColor       =   &H000000FF&
         Height          =   255
         Index           =   1
         Left            =   2880
         TabIndex        =   20
         Top             =   360
         Width           =   495
      End
      Begin VB.Label Label2 
         Caption         =   "邮箱:"
         Height          =   375
         Left            =   600
         TabIndex        =   18
         Top             =   1320
         Width           =   855
      End
      Begin VB.Label Label1 
         Caption         =   "电话:"
         Height          =   255
         Index           =   3
         Left            =   3480
         TabIndex        =   16
         Top             =   840
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "所任课程:"
         Height          =   255
         Index           =   2
         Left            =   240
         TabIndex        =   15
         Top             =   840
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "教师姓名:"
         Height          =   255
         Index           =   1
         Left            =   3480
         TabIndex        =   14
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "教师编号:"
         Height          =   255
         Index           =   0
         Left            =   240
         TabIndex        =   13
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "教师列表"
      Height          =   2535
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   6255
      Begin MSComctlLib.ListView ListView1 
         Height          =   2175
         Left            =   120
         TabIndex        =   1
         Top             =   240
         Width           =   6015
         _ExtentX        =   10610
         _ExtentY        =   3836
         LabelWrap       =   -1  'True
         HideSelection   =   -1  'True
         _Version        =   393217
         Icons           =   "ImageList1"
         ForeColor       =   -2147483640
         BackColor       =   -2147483643
         BorderStyle     =   1
         Appearance      =   0
         NumItems        =   0
      End
      Begin MSComctlLib.ImageList ImageList1 
         Left            =   240
         Top             =   480
         _ExtentX        =   1005
         _ExtentY        =   1005
         BackColor       =   -2147483643
         ImageWidth      =   32
         ImageHeight     =   32
         MaskColor       =   12632256
         _Version        =   393216
         BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
            NumListImages   =   1
            BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "A教师设置.frx":0000
               Key             =   ""
            EndProperty
         EndProperty
      End
   End
End
Attribute VB_Name = "A教师设置"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim rs As ADODB.Recordset
Dim SQL As String
Dim msg As String
Dim index As Integer
Dim flag As String '判断是新增记录还是修改记录

⌨️ 快捷键说明

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