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

📄 frmnew.frm

📁 简单银行模拟系统,实现存款,取款界面,适合一般课程设计论文要求,不可做商业用途
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmnew 
   BackColor       =   &H00FFFFC0&
   Caption         =   "开户信息"
   ClientHeight    =   4470
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6165
   LinkTopic       =   "Form1"
   ScaleHeight     =   4470
   ScaleWidth      =   6165
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text4 
      Height          =   495
      Left            =   2760
      TabIndex        =   7
      Top             =   3000
      Width           =   2895
   End
   Begin VB.CommandButton Command2 
      Caption         =   "结束操作"
      Height          =   495
      Left            =   3360
      TabIndex        =   9
      Top             =   3720
      Width           =   1695
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确认开户"
      Height          =   495
      Left            =   1440
      TabIndex        =   8
      Top             =   3720
      Width           =   1575
   End
   Begin VB.TextBox Text3 
      Height          =   495
      IMEMode         =   3  'DISABLE
      Left            =   2760
      MousePointer    =   1  'Arrow
      PasswordChar    =   "*"
      TabIndex        =   5
      Top             =   2280
      Width           =   2775
   End
   Begin VB.TextBox Text2 
      Height          =   495
      IMEMode         =   3  'DISABLE
      Left            =   2760
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   1440
      Width           =   2775
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   2760
      TabIndex        =   1
      Top             =   720
      Width           =   2775
   End
   Begin VB.Label Label5 
      Caption         =   "请输入你的帐户余额:"
      Height          =   495
      Left            =   720
      TabIndex        =   6
      Top             =   3000
      Width           =   1815
   End
   Begin VB.Label Label4 
      Alignment       =   2  'Center
      Caption         =   "银行模拟系统开户界面"
      BeginProperty Font 
         Name            =   "华文行楷"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   480
      TabIndex        =   10
      Top             =   120
      Width           =   5415
   End
   Begin VB.Label Label3 
      Caption         =   "请确认你的密码:"
      Height          =   495
      Left            =   720
      TabIndex        =   4
      Top             =   2400
      Width           =   1815
   End
   Begin VB.Label Label2 
      Caption         =   "请输入你的密码:"
      Height          =   375
      Left            =   720
      TabIndex        =   2
      Top             =   1560
      Width           =   1935
   End
   Begin VB.Label Label1 
      Caption         =   "请输入新建你的帐号:"
      Height          =   375
      Left            =   720
      TabIndex        =   0
      Top             =   840
      Width           =   1815
   End
End
Attribute VB_Name = "frmnew"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim field As Fields
Private Sub Command1_Click()
If Text3.Text <> Text2.Text Then
MsgBox "你两次的密码输入不一致而导致系统错误!", vbOKOnly + vbInformation, "银行系统提示"
Text2.Text = ""
Text3.Text = ""
Text2.SetFocus
End If
Call connectDB
adoRS.Open "银行表", adoCon
If Not adoRS Then
adoRS.AddNew
adoRS("卡号") = Text1.Text
adoRS("密码") = Text2.Text
adoRS("余额") = Text4.Text
adoRS.Update
adoRS.MoveNext
MsgBox "您已经成功的开户了!请你务必记主你的卡号和密码谢谢合作!", vbOKOnly + vbExclamation, "银行系统提示"
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End If
End Sub

Private Sub Command2_Click()
End
End Sub

⌨️ 快捷键说明

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