?? 登陸.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 + -