-->

Pages

Subscribe:

Ads 468x60px

Selasa, 25 Juni 2013

looping1




Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim halaman As Byte
        halaman = 1
        Do Until halaman = 11
            ListBox1.Items.Add("1")
            ListBox1.Items.Add("2")
            ListBox1.Items.Add("3")
            ListBox1.Items.Add("4")
            ListBox1.Items.Add("5")
            ListBox1.Items.Add("6")
            ListBox1.Items.Add("7")
            ListBox1.Items.Add("8")
            ListBox1.Items.Add("9")
            ListBox1.Items.Add("10")
            halaman = halaman + 1
        Loop
    End Sub
End Class

0 komentar:

Posting Komentar