Hello All,
I'm designing an application to support System engineers in defining Pin assignemnets, for semiconductor market. One of these the forms is intendend to provide the user with a way to define preliminary data on the PIN, for example, on which zone of the chip it should be located, is there another PIN that must be in the vicinity of this PIN, etc.
For each pin there should be the following options
Name, Pad location (X,Y), zone, pair. Name is a chekbox, pad location is text boxes, zone and pair is combo-box.
Since a Pin number these days may exceed 400 easily, we're; talking 400 * 6 controls on a form. I can't see c# on .Net beaing able to download it fast enough using Control.Add routines ...
Any idea on how to enable user to view/update data on a form without actually using controls additions one at a time?
Thanks
Hila
Hila MirandaPosted May 12, 2008, 2:16 AM
Thanks. That's what I had in mind..
Have a great week!
Scott LyslePosted May 7, 2008, 11:57 PM
Since you cannot hope to display 400+ user controls with checkboxes, textboxes, labels, etc. on a single form, maybe you should think about modifying the UI such that you allow the user to modify the pins individually. You could create a pin class that contains all of the pin information you'd mentioned, and when you know how many pins you are talking about, you could create a collection of pin objects at that size. You could provide the user with navigation controls to cycle forwards and backwards through the collection and to set each pin's values one pin at a time. If you wanted to all the user to view all 400 pins, maybe you could bind the collection to a datagridview control and display the 400+ lines within the grid if you have a requirement to display them all simultaneously.