Creating instances of a control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Creating instances of a control

I have a panel with some controls inside and I need to create a Stack to
push into some instances of the panel. I mean, there is a button where the
user creates a new instance of the panel each time it push the button.

Any idea?

Thanks,
 
If you want to create a stack and fill it with Panel controls, try using
System.Collections.Generic.Stack(Of Panel)

There should be no challenge to Push each new Panel on to the top of the
stack.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top