📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 0 'None
Caption = "Form2"
ClientHeight = 1950
ClientLeft = 0
ClientTop = 0
ClientWidth = 4035
LinkTopic = "Form2"
ScaleHeight = 1950
ScaleWidth = 4035
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取消"
Height = 372
Left = 2592
TabIndex = 3
Top = 1368
Width = 924
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 372
Left = 480
TabIndex = 2
Top = 1368
Width = 924
End
Begin VB.TextBox Txtpassword
Height = 324
IMEMode = 3 'DISABLE
Left = 2064
PasswordChar = "*"
TabIndex = 1
Top = 720
Width = 1644
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入开机密码:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 216
Left = 312
TabIndex = 0
Top = 744
Width = 1728
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()
Dim str As String
str = Trim(Txtpassword.Text)
' str = InputBox("请输入开机密码?", "手机控制")
If str = "gwdklcbgwd" Then
Load Form1
Form1.Show
Unload Me
Else
End
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Txtpassword_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Command1_Click
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -