When I have a form, and I want to remove Controls from the form, I call
Form.Control.Re moveAt. When I make this call, do I have to manually dispose
of the object? I think not, but I just want to make sure
e.x.:
Form myForm; //line1
Controls control = myForm.Controls[0]; //line2
control.Dispose (); //line3
control.RemoveA t(0); //line4
Is line 3 necessary?
Form.Control.Re moveAt. When I make this call, do I have to manually dispose
of the object? I think not, but I just want to make sure
e.x.:
Form myForm; //line1
Controls control = myForm.Controls[0]; //line2
control.Dispose (); //line3
control.RemoveA t(0); //line4
Is line 3 necessary?