Then your design is flawed. You could, however, make sure that both lists have the same amount of items and then loop from 0 to that amount:
int itemCount = listBox4.Items.Count;...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: foamy Search: Search took 0.03 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |