Tutorial Programming

Tutorial basic, Visual Studio VB.NET 2013 ListBox dan ComboBox



Hallo sahabat saya akan menjelaskan bagaimana membuat ListBox dan ComboBox pada visual studio 2013, oke langsung aja

ListBox



Berikut coding programnya :


Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myitem
myitem = InputBox(“Enter your Item”)
ListBox1.Items.Add(myitem)
End Sub
End Class



ComboBox



Berikut coding programnya :


Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myitem
myitem = InputBox(“Enter your Item”)
ComboBox1.Items.Add(myitem)
End Sub
End Class


Sekian tutorial saya sahabat semoga bermanfaat yah.

No comments:

Post a Comment

Tutorial Programming Designed by Templateism | Ary EJFA Copyright © 2015

Theme images by richcano. Powered by Blogger.