form1.frm

来自「此为九九乘法表」· FRM 代码 · 共 44 行

FRM
44
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   30
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   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 i As Integer, j As Integer, k As Integer
Me.AutoRedraw = True
Print Tab(30); "九九乘法表"
s = ""
For i = 1 To 9
 For j = 1 To 9
   s = s & Str(i) & "*" & Str(j) & "=" & Str(i * j)
   If j >= i Then Exit For
 Next j
 Print s
 Print Chr(13)
 s = ""
Next i

End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?