problem to unload usercontrol on a winforms

  • Thread starter Thread starter Max3vil
  • Start date Start date
M

Max3vil

I Had realized a user contro ctrlContro and i load it in this way:

ctrlControl c1=new ctrlControl
c1.Partent=this;
c1.Show();

this is right, how do i unload this controls ?

c1.dispose();
c1=null

is wrong

tnx
 
Back
Top