You are on page 1of 1

Public Class Form1

Dim a As Decimal
Dim b As Decimal
Dim c As Decimal

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
ListBox1.Items.Clear()
TextBox1.Text = ""

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
End
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
a = TextBox1.Text
For b = 1 To 10
c = a * b
ListBox1.Items.Add(c)

Next
End Sub
End Class

You might also like