📄 frmtemp.frm
字号:
VERSION 5.00
Begin VB.Form frmTEMP
BackColor = &H00E0E0E0&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 2655
ClientLeft = 0
ClientTop = 0
ClientWidth = 4695
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2655
ScaleWidth = 4695
ShowInTaskbar = 0 'False
Begin VB.TextBox Text1
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H00C0FFFF&
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
IMEMode = 3 'DISABLE
Left = 2040
MaxLength = 12
PasswordChar = "*"
TabIndex = 0
Top = 720
Width = 2295
End
Begin VB.CommandButton cmdOK
Caption = "确定(&O)"
Default = -1 'True
Height = 615
Left = 1560
TabIndex = 1
Top = 1680
Width = 1575
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入密码:"
BeginProperty Font
Name = "黑体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 315
Left = 240
TabIndex = 2
Top = 720
Width = 1740
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 1
X1 = 4680
X2 = 4680
Y1 = 0
Y2 = 2640
End
Begin VB.Line Line2
BorderColor = &H80000004&
Index = 0
X1 = 0
X2 = 0
Y1 = 0
Y2 = 2640
End
Begin VB.Line Line1
BorderColor = &H80000004&
Index = 1
X1 = 0
X2 = 4680
Y1 = 2640
Y2 = 2640
End
Begin VB.Line Line1
BorderColor = &H80000004&
Index = 0
X1 = 0
X2 = 4680
Y1 = 0
Y2 = 0
End
End
Attribute VB_Name = "frmTEMP"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdOK_Click()
If Trim(Text1) = Password Then
Unload Me
Else
MsgBox "密码不正确!!!!!!"
Text1 = ""
Text1.SetFocus
End If
End Sub
Private Sub Form_Load()
Me.Top = (Mainform.Height - Me.Height) / 2 - 800
Me.Left = (Mainform.Width - Me.Width) / 2
End Sub
Private Sub Text1_GotFocus()
Text1.BackColor = &HFFC0C0
Text1.SelStart = 0
Text1.SelLength = 12
End Sub
Private Sub Text1_LostFocus()
Text1.BackColor = &HC0FFFF
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -