?? 管理員驗證.frm
字號:
VERSION 5.00
Begin VB.Form 管理員驗證
BorderStyle = 1 'Fixed Single
Caption = "管理員驗證"
ClientHeight = 3915
ClientLeft = 3210
ClientTop = 2580
ClientWidth = 5490
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 3915
ScaleWidth = 5490
Begin VB.CommandButton Command1
Caption = "確 定"
BeginProperty Font
Name = "隸書"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1800
TabIndex = 3
Top = 2760
Width = 1455
End
Begin VB.TextBox Text1
Height = 375
IMEMode = 3 'DISABLE
Left = 1320
PasswordChar = "*"
TabIndex = 2
Top = 2040
Width = 2415
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "請輸入您的密碼:"
BeginProperty Font
Name = "隸書"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1560
TabIndex = 1
Top = 1440
Width = 2040
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00FF0000&
Caption = "身 份 驗 證"
BeginProperty Font
Name = "隸書"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 495
Left = 720
TabIndex = 0
Top = 360
Width = 3855
End
End
Attribute VB_Name = "管理員驗證"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "123456" Then
MsgBox "你是合法用戶,歡迎進入!", vbOKOnly + vbInformation, ″歡迎進入″
管理員驗證.Hide
數據管理.Show
Text1.Text = ""
Else
MsgBox "密碼錯誤!請重新輸入密碼。", 16, "注意"
Text1.Text = ""
Text1.SetFocus
End If
End Sub
Private Sub Form_Load()
管理員驗證.Left = 3000
管理員驗證.Top = 1900
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Command1_Click
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -