📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5490
ClientLeft = 60
ClientTop = 450
ClientWidth = 5820
LinkTopic = "Form1"
ScaleHeight = 5490
ScaleWidth = 5820
StartUpPosition = 3 '窗口缺省
Begin VB.ListBox List1
Height = 4560
ItemData = "Form1.frx":0000
Left = 360
List = "Form1.frx":0002
TabIndex = 2
Top = 240
Width = 3615
End
Begin VB.CommandButton Command2
Caption = "返回"
Height = 495
Left = 4080
TabIndex = 1
Top = 3000
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "生成数据"
Height = 495
Left = 4080
TabIndex = 0
Top = 1680
Width = 1335
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 a, b, n, m, i, j, x, pan, pai As Integer
For a = 1 To 10000
n = Len(a)
For i = 1 To n - 1
pan = pan & Mid(a, n - i, 1)
Next i, a
x = a
b = x ^ 2
m = Len(b)
For j = 1 To m - 1
pai = pai & Mid(b, m - j, 1)
Next j
List1.AddItem b
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -