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.
 
Back
Top