📄 f3-2.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00000000&
BorderStyle = 3 'Fixed Dialog
ClientHeight = 3195
ClientLeft = 45
ClientTop = 435
ClientWidth = 4950
ForeColor = &H00FFFFFF&
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 4950
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "回答"
Height = 495
Left = 2760
TabIndex = 1
Top = 2160
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "提问"
Default = -1 'True
Height = 495
Left = 1080
TabIndex = 0
Top = 2160
Width = 1095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click() '“提问”按钮的单击事件过程
Cls '清除用Print方法显示的字符
Print "1+1=?" '在窗体上显示字符串“1+1=?”
End Sub
Private Sub Command2_Click() '“回答”按钮的单击事件过程
Cls
Print "1+1=2"
End Sub
Private Sub Form_Load()
Form1.FontSize = 24
Caption = "模拟黑板" '使窗体标题栏显示“模拟黑板”字样
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -