1个回答
展开全部
添加一个按钮及text,text用于输入同心圆数
Private Sub Command1_Click()
Dim a As Integer
a = 1000
For i = 1 To Text1.Text
Me.Circle (Form1.Width / 2, Form1.Height / 2), a
a = a + 1000
Next
End Sub
Private Sub Form_Load()
AutoRedraw = True
End Sub
Private Sub Command1_Click()
Dim a As Integer
a = 1000
For i = 1 To Text1.Text
Me.Circle (Form1.Width / 2, Form1.Height / 2), a
a = a + 1000
Next
End Sub
Private Sub Form_Load()
AutoRedraw = True
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询