i am wondering how i would have 20 list boxes for 20 items in the combobox what would i do if i change the item in the combo box to get the specific list box to show and others to hide?
You wouldn't use 20 ListBoxes. You would use one ListBox and change the data displayed in it. Can you provide more details about what exactly the data is that you're displaying?
i want to save times from the timer i can insert them but when i change the item in the combobox i.e 4x4 cube i want the times that i had be4 for this also
i want to save times from the timer i can insert them but when i change the item in the combobox i.e 4x4 cube i want the times that i had be4 for this also
That's basically no help so let me just provide a general solution. You could create an array where the elements were the lists that you want to display in the ListBox. When the user makes a selection in the ComboBox, you use the SelectedIndex to get the corresponding list from the array and bind that list to the ListBox.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.