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?? ;)

Recommended Answers

All 2 Replies

First choices..That'll makes your live easier..

Lol.... :D In terms of performance and efficiency?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.