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

📄 登陆.frm

📁 ATM模拟系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BorderStyle     =   0  'None
   Caption         =   "Form2"
   ClientHeight    =   5505
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   7005
   LinkTopic       =   "Form2"
   Picture         =   "登陆.frx":0000
   ScaleHeight     =   5505
   ScaleWidth      =   7005
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   4320
      Picture         =   "登陆.frx":5927
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   4680
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00808000&
      Caption         =   "确定"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1440
      Picture         =   "登陆.frx":B24E
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   4680
      Width           =   1215
   End
   Begin VB.TextBox Text2 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   600
      IMEMode         =   3  'DISABLE
      Left            =   1500
      MaxLength       =   6
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   3600
      Width           =   4000
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   600
      Left            =   1500
      MaxLength       =   8
      TabIndex        =   2
      Top             =   1400
      Width           =   4000
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      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       =   &H00800000&
      Height          =   435
      Left            =   1500
      TabIndex        =   1
      Top             =   2805
      Width           =   3150
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      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       =   &H00800000&
      Height          =   435
      Left            =   1500
      TabIndex        =   0
      Top             =   600
      Width           =   3150
   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()

If i = 2 Then
If Len(Text1.Text) <> 8 Or Len(Text2.Text) <> 6 Then
'MsgBox "没有正确输入卡号或密码", vbExclamation, "出错信息"
Form3.Show
Form3.Label1.Caption = "没有正确输入卡号或密码"
Text1.Text = ""
Text2.Text = ""
Else
Call Checkuser
End If
End If
'用户选择英语
If i = 1 Then
If Len(Text1.Text) <> 8 Or Len(Text2.Text) <> 6 Then
'MsgBox "Please Input Correct Cardnumber Or Password", vbExclamation, "Error"
Form3.Show
Form3.Label1.Caption = "Please Input Correct Cardnumber Or Password"
Text1.Text = ""
Text2.Text = ""
Else
Call Checkuser
End If
End If
End Sub

Private Sub Command2_Click()
End
End Sub

Private Sub Form_Load()
If i = 1 Then
Label1.Caption = "Please Input Cardnumber"
Label2.Caption = "PLease Input Password"
Command1.Caption = "OK"
Command2.Caption = "Cancel"
End If
End Sub

⌨️ 快捷键说明

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