March 24, 2006
Hi all
I am new to VB.NET and am using VB.NET 2005.
I have an MDI form with a Split Container Control. On demand I am adding and
removing User Controls on Panel 2. I am using Show() and Hide(). It works
perfectly. The only thing is I would like to remove the User Control from
memory instead of hiding. I tried Dispose(), however then I cannot show this
user control again.
UserControl.Par ent=Form.SplitC ontainer1.Panel 2
UserControl.Doc k=DockStyle.Fil l
UserControl.Sho w()
..
..
UserControl.Hid e()
Thanks.
Hi all
I am new to VB.NET and am using VB.NET 2005.
I have an MDI form with a Split Container Control. On demand I am adding and
removing User Controls on Panel 2. I am using Show() and Hide(). It works
perfectly. The only thing is I would like to remove the User Control from
memory instead of hiding. I tried Dispose(), however then I cannot show this
user control again.
UserControl.Par ent=Form.SplitC ontainer1.Panel 2
UserControl.Doc k=DockStyle.Fil l
UserControl.Sho w()
..
..
UserControl.Hid e()
Thanks.
Comment