📄 涂抹数字推算.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "涂抹数字推算"
ClientHeight = 3960
ClientLeft = 60
ClientTop = 450
ClientWidth = 5940
LinkTopic = "Form1"
ScaleHeight = 3960
ScaleWidth = 5940
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "计算"
Height = 375
Left = 3720
TabIndex = 1
Top = 3000
Width = 1095
End
Begin VB.ListBox List1
Height = 2940
ItemData = "涂抹数字推算.frx":0000
Left = 240
List = "涂抹数字推算.frx":0002
TabIndex = 0
Top = 360
Width = 3135
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()
Dim j, n, c As Integer
c = 0
List1.Clear
For j = 0 To 99
n = 25006 + j * 10
If n Mod 37 = 0 Or n Mod 67 = 0 Then
List1.AddItem Str(n)
c = c + 1
End If
Next j
List1.AddItem "总计有" + Str(c) + "个五位数"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -