📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "End、Exit语句的使用技巧"
ClientHeight = 1200
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1200
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim username, password As String
username = InputBox("请输入您的姓名:")
password = InputBox("请输入您的密码:")
If username <> "mrsoft" Or password <> "12345" Then
MsgBox "对不起,您无权使用该机器"
End
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -