Home » » VB.Net Listbox’a Ad-Soyad ve Sınıf Ekleme, Silme

VB.Net Listbox’a Ad-Soyad ve Sınıf Ekleme, Silme

dı, soyadı ve numarası girilen bir öğrenciyi oluşturulmuş olan listboxa ekleyen, silen ve tümünü birden silip çıkış yapabilen programı oluşturunuz. 

 
Bu programı oluştururken 4 label, 2 textbox, 1 combobox, 1 listbox, 4 tanede button kullanacağız. Şekildeki gibi yerleşim yaptıktan sonra ekle buttonuna; 
ListBox1.Items.Add(TextBox1.Text + " " + TextBox2.Text + " - " + ComboBox1.Text)
Sil buttonuna; 
ListBox1.Items.Remove(ListBox1.SelectedItem)

ListBox1.Items.Clear()
  
Çıkış buttonuna ise; 
End
 
Support : Vaganzi
Copyright © 2013. Visual Studio Kod Bankası - All Rights Reserved
Powered By Vaganzi