System.Windows.Forms has a ListViewItem class, but not a ListItem class. The
list box's Items collection (a ListBox.ObjectCollection instance) holds
objects, not a strongly-typed class.
Like the other posters have said, it looks like you're mixing up a couple of
different project types. A standard "WinForms project" will not have a
ListItem class.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.