| | |
Array or multiple components??
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2008
Posts: 89
Reputation:
Solved Threads: 7
Hi,
If i need to use many same components in a window form (let say 20 picture boxes or 20 text boxes), which of the method below is more efficient??
1. Drag and drop the component 20 times. Configure their properties one by one.
2. Declare array of that component (for e.g: Private many_label(8) As Label) which configuration of properties is only done once.
I know each of them got their own pros and cons. In terms of processing and efficiency?? Which better??
If i need to use many same components in a window form (let say 20 picture boxes or 20 text boxes), which of the method below is more efficient??
1. Drag and drop the component 20 times. Configure their properties one by one.
2. Declare array of that component (for e.g: Private many_label(8) As Label) which configuration of properties is only done once.
I know each of them got their own pros and cons. In terms of processing and efficiency?? Which better??
![]() |
Similar Threads
- racking the content of an array in a session bean debug sessionbean1.java (JSP)
- What's the HARDEST program you've written? (Computer Science)
- doing a program blinded (Java)
- I need your hand (C++)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- reasons why malloc fails? (C)
- Need help with Array sorting using Java Servlet (Java)
- I've got Trojan.Holax... is this bad? (Viruses, Spyware and other Nasties)
- not-a-virusadware (Viruses, Spyware and other Nasties)
- Can you add pictures/sounds in a win32 console app? (C)
Other Threads in the VB.NET Forum
- Previous Thread: Sql reporting Servicea
- Next Thread: Set up file problem
| Thread Tools | Search this Thread |
.net .net2005 30minutes 2005 2008 access account arithmetic array basic binary bing button buttons c# center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dropdownlist excel file-dialog folder ftp generatetags google gridview hardcopy image images inline insert intel internet listview login mobile monitor ms net networking output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print problem problemwithinstallation project reports" save savedialog searchbox searchvb.net select serial server soap sql table tcp text textbox timer toolbox trim update updown user usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf






In terms of performance and efficiency?