| | |
Array or multiple components??
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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
Views: 362 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 2008 access add application array assignment basic box button buttons center class click code combo convert cpu data database datagrid datagridview design designer dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees error excel exists firewall function image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan picturebox port print printing printpreview problem record refresh regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase storedprocedure string structures studio temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet vista visual visualbasic visualbasic.net visualstudio2008 web wpf xml






In terms of performance and efficiency?