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

📄 jsdenglu.frm

📁 一个简单的学生信息管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form jsdenglu 
   Caption         =   "教师登陆"
   ClientHeight    =   3150
   ClientLeft      =   60
   ClientTop       =   390
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3150
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      Height          =   375
      Left            =   2520
      TabIndex        =   5
      Top             =   2400
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "登陆"
      Height          =   375
      Left            =   480
      TabIndex        =   4
      Top             =   2400
      Width           =   1095
   End
   Begin VB.TextBox Text2 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   2280
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   1560
      Width           =   1455
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   2160
      TabIndex        =   2
      Top             =   480
      Width           =   1695
   End
   Begin VB.Label Labmima 
      Caption         =   "密码"
      Height          =   495
      Left            =   240
      TabIndex        =   1
      Top             =   1440
      Width           =   1575
   End
   Begin VB.Label labjsbh 
      Caption         =   "教师编号"
      Height          =   495
      Left            =   240
      TabIndex        =   0
      Top             =   480
      Width           =   1455
   End
End
Attribute VB_Name = "jsdenglu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Label2_Click()
End Sub

Private Sub Command1_Click()
Dim i As Integer
Dim findtag As Boolean
findtag = False
Call js_con
rstjs.MoveFirst
For i = 0 To rstjs.RecordCount - 1
If Text1.Text = rstjs!教师编号 And Text2.Text = rstjs!密码 Then
findtag = True
End If
rstjs.MoveNext
Next i
If findtag = True Then
MsgBox ("登陆成功")
jiaoshi.Show
Else
MsgBox ("用户名或密码错误,请重新输入!")
End If
rstjs.Close
js.Close
End Sub

Private Sub Command2_Click()
Unload Me
xuanze.Show
End Sub

⌨️ 快捷键说明

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