Groups | Blog | Home
all groups > dotnet windows forms > july 2006 >

dotnet windows forms : Creating instances of a control


Robe
7/28/2006 9:43:01 AM
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,
rj
7/31/2006 8:07:11 PM
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.
--
rj


[quoted text, click to view]
AddThis Social Bookmark Button