J
Jeroen Ceuppens
Hi,
I want to add a component of these class :
public class OptiePanel : System.ComponentModel.Component
I put on this class in a constructor with in it lost of things to add like:
this.Container.Add(labelHoofd);
So if I want to add an object of this class in the main form, how should I
do it?
Because if I do this it will not work:
OptiePanel panelke=new OptiePanel();
this.Container.Add(panelke); // this is in a window form
My goal is to make a lots of components, so they can be added when the are
needed
THx
JC
I want to add a component of these class :
public class OptiePanel : System.ComponentModel.Component
I put on this class in a constructor with in it lost of things to add like:
this.Container.Add(labelHoofd);
So if I want to add an object of this class in the main form, how should I
do it?
Because if I do this it will not work:
OptiePanel panelke=new OptiePanel();
this.Container.Add(panelke); // this is in a window form
My goal is to make a lots of components, so they can be added when the are
needed
THx
JC