P
Piotrek Stachowicz
Hi,
[Windows Forms]
I have a panel in which I create lots of controls (a few hundreds,
this.panel1.Controls.Add(...) ) , but they are there only for a short
while - when user pushes button I call clear panel, and populate it with
another (brand new) set of controls.
Currently, I leave the cleaning job to GC, and just don't care, but
perhaps I could help him somehow?
Piotrek
[Windows Forms]
I have a panel in which I create lots of controls (a few hundreds,
this.panel1.Controls.Add(...) ) , but they are there only for a short
while - when user pushes button I call clear panel, and populate it with
another (brand new) set of controls.
Currently, I leave the cleaning job to GC, and just don't care, but
perhaps I could help him somehow?
Piotrek