v6j04-13.frm
来自「简单的VB课程教学课件适合刚刚接触VB学习的学生学习,绝对是这门课程的精化」· FRM 代码 · 共 40 行
FRM
40 行
VERSION 5.00
Begin VB.Form Form1
Caption = "循环嵌套"
ClientHeight = 2940
ClientLeft = 60
ClientTop = 345
ClientWidth = 7530
LinkTopic = "Form1"
ScaleHeight = 2940
ScaleWidth = 7530
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox Picture1
Height = 2775
Left = 0
ScaleHeight = 2715
ScaleWidth = 7395
TabIndex = 0
Top = 0
Width = 7455
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Picture1_Click()
Dim se As String
Picture1.Print Tab(35); "九九乘法表"
Picture1.Print Tab(35); "-----------"
For i = 1 To 9
For j = 1 To 9
se = i & "×" & j & "=" & i * j
Picture1.Print Tab((j - 1) * 9 + 1); se;
Next j
Picture1.Print
Next i
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?