F
Franck Diastein
Hi,
I'm designing an User Control, with TypeConverter...
If I use this:
private ImageList imageList = null;
public ImageList ImageList{
get {return this.imageList;}
set {this.imageList = value;}
}
And go to design mode to my User Control properties, I can *magically*
select one of the available ImageLists...
I would like to be able to hook to a component made by me, but if I do this:
private MyComponent mycomp = null;
public MyComponent Component{
get {return this.mycomp;}
set {this.mycomp = value;}
}
What 'magic' trick do I need in MyComponent so my User Control list all
MyComponent available in the working form...
I hope you understand this...
TIA
I'm designing an User Control, with TypeConverter...
If I use this:
private ImageList imageList = null;
public ImageList ImageList{
get {return this.imageList;}
set {this.imageList = value;}
}
And go to design mode to my User Control properties, I can *magically*
select one of the available ImageLists...
I would like to be able to hook to a component made by me, but if I do this:
private MyComponent mycomp = null;
public MyComponent Component{
get {return this.mycomp;}
set {this.mycomp = value;}
}
What 'magic' trick do I need in MyComponent so my User Control list all
MyComponent available in the working form...
I hope you understand this...
TIA