📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3465
ClientLeft = 60
ClientTop = 450
ClientWidth = 4935
LinkTopic = "Form1"
ScaleHeight = 3465
ScaleWidth = 4935
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取消"
Height = 495
Left = 2160
TabIndex = 5
Top = 1560
Width = 855
End
Begin VB.CommandButton Command1
Caption = "登录"
Height = 495
Left = 720
TabIndex = 4
Top = 1560
Width = 855
End
Begin VB.TextBox Text2
Height = 495
IMEMode = 3 'DISABLE
Left = 1320
MaxLength = 15
PasswordChar = "*"
TabIndex = 3
Top = 840
Width = 1815
End
Begin VB.TextBox Text1
Height = 495
Left = 1320
MaxLength = 15
TabIndex = 1
Top = 240
Width = 1815
End
Begin VB.Label Label2
Caption = "密码:"
Height = 255
Left = 360
TabIndex = 2
Top = 960
Width = 855
End
Begin VB.Label Label1
Caption = "姓名:"
Height = 255
Left = 360
TabIndex = 0
Top = 360
Width = 735
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 Text1.Text = "龚明兰" Then
If UCase(Text2.Text) = "888" Then
Form2.Show
Else
Beep
MsgBox "密码错误!"
End
End If
Else
Beep
MsgBox "姓名错误!"
End
End If
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -