VB.net Create controls at runtime using class? -


hi looking create controls @ run time bit more complexity:

i have collection of controls want duplicate @ runtime , access, say:

  • 2 text boxes
  • 2 labels
  • 1 button

what best way of grouping them easy access? can create class makes these items , make new class every time want make new set of controls?

the best option designing usercontrol , create @ runtime times need.

designing usercontrol allows include textboxes, labels, button , group them want.

check @ msdn:

creating windows form user control


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -