Altı elemanlı bir listbox ve bir tane combobox'un olduğu bir durumda, Şayet combobox değeri değiştikçe, listenin sıfırlanmasını istiyorsak Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged ListBox1.Items.Clear() ListBox2.Items.Clear() ListBox3.Items.Clear() ListBox4.Items.Clear() ListBox5.Items.Clear() ListBox6.Items.Clear() End Sub
Yorumlar
Yorum Gönder