Go through the listbox
I have a listbox with ip Address. I want to make a function after using a ip address it will go to the next one. At the end it need to go back to the first one.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ryan AlfordRank #1,411 · 1.2K reputationPosted Jul 22, 2008, 1:55 PM EDT
Mahesh ChandRank #1 · 393.3K reputationPosted Jul 22, 2008, 6:00 PM EDT
Use ListBox.Items property to get all the items of a ListBox. In the end, set SelectedIndex property to 0 to select the first item. Here are some sample articles from this site:
How to retrieve a list of items from listbox in C#
Adding Items to a ListBox