📄 登陆.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
Caption = "Form2"
ClientHeight = 7920
ClientLeft = 0
ClientTop = 0
ClientWidth = 6615
LinkTopic = "Form2"
ScaleHeight = 7920
ScaleWidth = 6615
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
BackColor = &H00FFFFFF&
Height = 3735
Left = 600
TabIndex = 13
Top = 1200
Width = 5775
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 = 4440
Style = 1 'Graphical
TabIndex = 16
Top = 3120
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 = 840
MaxLength = 6
PasswordChar = "*"
TabIndex = 14
Top = 1635
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 = 1320
TabIndex = 15
Top = 720
Width = 3855
End
End
Begin VB.Frame Frame2
Caption = "操作键盘"
ForeColor = &H00C00000&
Height = 2655
Left = 600
TabIndex = 0
Top = 5040
Width = 5775
Begin VB.CommandButton Submit
Caption = "确定"
Height = 615
Left = 3840
TabIndex = 12
Top = 1080
Width = 1215
End
Begin VB.CommandButton Cancel
Caption = "取消"
Height = 615
Left = 3840
TabIndex = 11
Top = 360
Width = 1215
End
Begin VB.CommandButton Num0
Caption = "0"
Height = 615
Left = 3840
TabIndex = 10
Top = 1800
Width = 1215
End
Begin VB.CommandButton Num9
Caption = "9"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2760
TabIndex = 9
Top = 1800
Width = 615
End
Begin VB.CommandButton Num8
Caption = "8"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1680
TabIndex = 8
Top = 1800
Width = 615
End
Begin VB.CommandButton Num7
Caption = "7"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 600
TabIndex = 7
Top = 1800
Width = 615
End
Begin VB.CommandButton Num6
Caption = "6"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2760
TabIndex = 6
Top = 1080
Width = 615
End
Begin VB.CommandButton Num5
Caption = "5"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1680
TabIndex = 5
Top = 1080
Width = 615
End
Begin VB.CommandButton Num4
Caption = "4"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 600
TabIndex = 4
Top = 1080
Width = 615
End
Begin VB.CommandButton Num3
Caption = "3"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2760
TabIndex = 3
Top = 360
Width = 615
End
Begin VB.CommandButton Num2
Caption = "2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1680
TabIndex = 2
Top = 360
Width = 615
End
Begin VB.CommandButton Num1
Caption = "1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 600
TabIndex = 1
Top = 360
Width = 615
End
End
Begin VB.Image Image1
Height = 1005
Left = 1920
Picture = "登陆.frx":0000
Top = 0
Width = 3000
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cancel_Click()
Text2.Text = ""
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
If i = 1 Then
Label2.Caption = "PLease Input Password"
Command2.Caption = "Log out"
Cancel.Caption = "Cancel"
Submit.Caption = "Submit"
End If
End Sub
Private Sub Num0_Click()
Text2.Text = Text2.Text + "0"
End Sub
Private Sub Num1_Click()
Text2.Text = Text2.Text + "1"
End Sub
Private Sub Num2_Click()
Text2.Text = Text2.Text + "2"
End Sub
Private Sub Num3_Click()
Text2.Text = Text2.Text + "3"
End Sub
Private Sub Num4_Click()
Text2.Text = Text2.Text + "4"
End Sub
Private Sub Num5_Click()
Text2.Text = Text2.Text + "5"
End Sub
Private Sub Num6_Click()
Text2.Text = Text2.Text + "6"
End Sub
Private Sub Num7_Click()
Text2.Text = Text2.Text + "7"
End Sub
Private Sub Num8_Click()
Text2.Text = Text2.Text + "8"
End Sub
Private Sub Num9_Click()
Text2.Text = Text2.Text + "9"
End Sub
Private Sub Submit_Click()
If i = 2 Then
Call Checkuser
End If
'用户选择英语
If i = 1 Then
Call Checkuser
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -