المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Listview control alternative



C# Programming
07-01-2009, 07:51 PM
I need some advice!

First, I work in a testing center and in my spare time I am trying to write a c# program that allows us to see all the computers, highlight them and shut them down, turn them on etc.

I had originally thought that list view would be a great approach since it handles multi select, and provides an interface similar to explorer. I have one problem We have about 35 computers, and when I put them in the list view under large or small icon view, their is about 20-30 pixels of dead wasted space between each computer, this makes the form large and cumbersome.

Here are my questions.

How can I change the spacing in Large or Small Icon view so they are closer together vertically? (my icons/images are 32x32)

Or can anyone suggest an alternative control or method to dynamically at runtime be able to add computers, and be able to multi select?

Thanks
Travis