?? frmnew.frm
字號(hào):
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 = "結(jié)束操作"
Height = 495
Left = 3360
TabIndex = 9
Top = 3720
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "確認(rèn)開戶"
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 = "請(qǐng)輸入你的帳戶余額:"
Height = 495
Left = 720
TabIndex = 6
Top = 3000
Width = 1815
End
Begin VB.Label Label4
Alignment = 2 'Center
Caption = "銀行模擬系統(tǒng)開戶界面"
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 = "請(qǐng)確認(rèn)你的密碼:"
Height = 495
Left = 720
TabIndex = 4
Top = 2400
Width = 1815
End
Begin VB.Label Label2
Caption = "請(qǐng)輸入你的密碼:"
Height = 375
Left = 720
TabIndex = 2
Top = 1560
Width = 1935
End
Begin VB.Label Label1
Caption = "請(qǐng)輸入新建你的帳號(hào):"
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 "你兩次的密碼輸入不一致而導(dǎo)致系統(tǒng)錯(cuò)誤!", vbOKOnly + vbInformation, "銀行系統(tǒng)提示"
Text2.Text = ""
Text3.Text = ""
Text2.SetFocus
End If
Call connectDB
adoRS.Open "銀行表", adoCon
If Not adoRS Then
adoRS.AddNew
adoRS("卡號(hào)") = Text1.Text
adoRS("密碼") = Text2.Text
adoRS("余額") = Text4.Text
adoRS.Update
adoRS.MoveNext
MsgBox "您已經(jīng)成功的開戶了!請(qǐng)你務(wù)必記主你的卡號(hào)和密碼謝謝合作!", vbOKOnly + vbExclamation, "銀行系統(tǒng)提示"
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End If
End Sub
Private Sub Command2_Click()
End
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -