943,682 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 555
  • VB.NET RSS
Apr 6th, 2009
0

Array or multiple components??

Expand Post »
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??
Similar Threads
Reputation Points: 37
Solved Threads: 7
Junior Poster
raul15791 is offline Offline
102 posts
since Jun 2008
Apr 7th, 2009
0

Re: Array or multiple components??

First choices..That'll makes your live easier..
Last edited by cikara21; Apr 7th, 2009 at 5:26 am.
Reputation Points: 47
Solved Threads: 69
Posting Whiz
cikara21 is offline Offline
340 posts
since Jul 2008
Apr 7th, 2009
0

Re: Array or multiple components??

Lol.... In terms of performance and efficiency?
Reputation Points: 37
Solved Threads: 7
Junior Poster
raul15791 is offline Offline
102 posts
since Jun 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Sql reporting Servicea
Next Thread in VB.NET Forum Timeline: Set up file problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC