📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 1 'Fixed Single
Caption = "用户登陆"
ClientHeight = 3090
ClientLeft = 4770
ClientTop = 3750
ClientWidth = 4680
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3090
ScaleWidth = 4680
Begin VB.CommandButton Command2
Caption = "取消"
Height = 495
Left = 2400
TabIndex = 5
Top = 2160
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "登陆"
Default = -1 'True
Height = 495
Left = 360
TabIndex = 4
Top = 2160
Width = 1575
End
Begin VB.TextBox Text2
Height = 375
IMEMode = 3 'DISABLE
Left = 1200
PasswordChar = "*"
TabIndex = 1
Top = 1200
Width = 2415
End
Begin VB.TextBox Text1
Height = 375
Left = 1200
TabIndex = 0
Top = 480
Width = 2415
End
Begin VB.Label Label2
Caption = "密码"
Height = 375
Left = 600
TabIndex = 3
Top = 1200
Width = 495
End
Begin VB.Label Label1
Caption = "用户名"
Height = 255
Left = 480
TabIndex = 2
Top = 600
Width = 615
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()
If Text1.Text = "111" And Text2.Text = "111" Then
Load Form1
Unload Me
Form1.Show
Else
MsgBox "输入的信息有误,请重新输入。"
End If
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -