JohnGH
Aug 17th, 2003, 06:36 AM
Can someone tell me what is the best way to create
a collection of objects from classes?
I tried using the component container like it is made
when using components in VS, but it doesn't work.
this.components = new System.ComponentModel.Container();
this.myClass = new theClass(this.components);
The reason I want this is to be able to dispose the
objects created.
a collection of objects from classes?
I tried using the component container like it is made
when using components in VS, but it doesn't work.
this.components = new System.ComponentModel.Container();
this.myClass = new theClass(this.components);
The reason I want this is to be able to dispose the
objects created.