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

📄 form55.frm

📁 一个简单的碟片出租管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form55 
   Caption         =   "设置登录"
   ClientHeight    =   1845
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3540
   LinkTopic       =   "Form1"
   ScaleHeight     =   1845
   ScaleWidth      =   3540
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "登录"
      Height          =   375
      Left            =   840
      TabIndex        =   4
      Top             =   1080
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   375
      Left            =   1800
      TabIndex        =   3
      Top             =   1080
      Width           =   855
   End
   Begin VB.Data Data1 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "G:\编程学习\VB学习\VB&Access\满篮\影片数据库实作.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   840
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "说明选项"
      Top             =   -120
      Visible         =   0   'False
      Width           =   1260
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      IMEMode         =   3  'DISABLE
      Left            =   840
      PasswordChar    =   "*"
      TabIndex        =   2
      Top             =   720
      Width           =   1815
   End
   Begin VB.TextBox Text2 
      DataField       =   "设定人员密码"
      DataSource      =   "Data1"
      Height          =   285
      Left            =   2640
      TabIndex        =   1
      Top             =   720
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox Text3 
      DataField       =   "设定人员"
      DataSource      =   "Data1"
      Height          =   285
      Left            =   1080
      Locked          =   -1  'True
      TabIndex        =   0
      Top             =   360
      Width           =   1815
   End
   Begin VB.Label Label4 
      Caption         =   "设置后请重新启动此管理程序以免被更动"
      ForeColor       =   &H000000FF&
      Height          =   255
      Left            =   240
      TabIndex        =   7
      Top             =   1560
      Width           =   3255
   End
   Begin VB.Label Label1 
      Caption         =   "姓名"
      Height          =   255
      Left            =   240
      TabIndex        =   6
      Top             =   240
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "密码"
      Height          =   255
      Left            =   240
      TabIndex        =   5
      Top             =   720
      Width           =   495
   End
End
Attribute VB_Name = "Form55"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim str1 As String
Dim str2 As String
Dim str3 As String

str1 = Text1.Text
str2 = Text2.Text
str3 = Text3.Text
oldmark = Data1.Recordset.Bookmark

Data1.Recordset.FindFirst "员工姓名='str3'"


 If Data1.Recordset.NoMatch Then
   Data1.Recordset.Bookmark = oldmark
   
 End If
 
 

If str1 = str2 Then

Unload Me
Load Form22

Form22.Text9.Locked = False

Form22.Text14.Visible = True
Form22.Text14.Locked = False
Form22.Label14.Visible = True
Form22.Label23(1).Visible = True


Form22.Text21.Locked = False
Form22.Text22.Locked = False

End If


End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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