蒋加伏主编VB程序设计第四版PPT及全部课本源码
北京邮电大学出版社
Visual Basic 程序设计教程(第四版)
主编 蒋加伏 张林峰
找了好久的(不带密码的)
源代码在线查看: 例5.13 九九乘法表.frm
VERSION 5.00
Begin VB.Form Form1
Caption = "例5.13 九九乘法表"
ClientHeight = 4470
ClientLeft = 60
ClientTop = 345
ClientWidth = 6480
LinkTopic = "Form1"
ScaleHeight = 4470
ScaleWidth = 6480
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "打印乘法表"
Height = 495
Left = 2640
TabIndex = 0
Top = 2400
Width = 1215
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()
Cls
For i = 1 To 9
For j = 1 To 9
se = i & "×" & j & "=" & i * j
Print Tab((j - 1) * 9 + 1); se;
Next j
Print
Next i
End Sub