Private Sub Command1_Click()
Picture1.Cls
For i = 1 To 5
For j = 1 To i - 1
Picture1.Print " ";
Next j
For j = 1 To 4
Picture1.Print "*";
Next j
Picture1.Print
Next i
End Sub
Private Sub Command2_Click()
Picture1.Cls
For i = 6 To 1 Step -1
For j = 1 To 11 - i
Picture1.Print " ";
Next j
For j = 1 To 2 * i - 1
Picture1.Print "*";
Next j
Picture1.Print
Next i
End Sub
Private Sub Command3_Click()
Picture1.Cls
For i = 1 To 6
For j = 1 To 11 - i
Picture1.Print " ";
Next j
For j = 1 To 2 * i - 1
Picture1.Print "*";
Next j
Picture1.Print
Next i
End Sub
这个是前面三个按钮的代码~!