📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "锁心锁爱"
ClientHeight = 1635
ClientLeft = 45
ClientTop = 435
ClientWidth = 4680
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 1635
ScaleWidth = 4680
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 4200
Top = 720
End
Begin VB.CheckBox Check2
Caption = "黑屏锁定"
Height = 255
Left = 360
TabIndex = 7
Top = 0
Visible = 0 'False
Width = 1095
End
Begin VB.CommandButton Command2
Caption = "隐蔽模式"
Height = 291
Left = 3240
TabIndex = 6
Top = 1250
Width = 995
End
Begin VB.CheckBox Check1
Caption = "透明锁定"
Height = 255
Left = 1800
TabIndex = 5
Top = 0
Value = 1 'Checked
Visible = 0 'False
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "开放模式"
Height = 291
Left = 1440
TabIndex = 4
Top = 1250
Width = 995
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
Height = 270
IMEMode = 3 'DISABLE
Left = 1440
MaxLength = 16
PasswordChar = "*"
TabIndex = 2
Top = 800
Width = 2775
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Height = 270
IMEMode = 3 'DISABLE
Left = 1440
MaxLength = 16
PasswordChar = "*"
TabIndex = 1
Top = 300
Width = 2775
End
Begin VB.Image Image1
Height = 480
Left = 720
Picture = "Form1.frx":0ECA
Top = 1080
Visible = 0 'False
Width = 480
End
Begin VB.Label Label2
Caption = "确定密码:"
Height = 255
Left = 450
TabIndex = 3
Top = 840
Width = 850
End
Begin VB.Label Label1
Caption = "输入密码:"
Height = 255
Left = 450
TabIndex = 0
Top = 360
Width = 855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Len(Text1.Text) > 2 Then
If Text2.Text <> Text1.Text Then
MsgBox "输入的两次密码不一致,请重新设置密码!", vbOKOnly + 32, "温馨提示您!"
Else
Me.Hide
If Check1.Value = 0 Then
End If
Form2.Show
Command1.Enabled = False
End If
End If
End Sub
Private Sub Command2_Click()
If Len(Text1.Text) > 2 Then
If Text2.Text <> Text1.Text Then
MsgBox "输入的两次密码不一致,请重新设置密码!", vbOKOnly + 32, "温馨提示您!"
Else
Me.Hide
If Check2.Value = 0 Then
End If
Form3.Show
Command2.Enabled = False
End If
End If
End Sub
Private Sub Form_Load()
Form1.Icon = Image1.Picture
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
settop = SetWindowPos(Me.hwnd, -1, 0, 0, 0, 0, 3)
End Sub
Private Sub Timer1_Timer()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -