Hi,
This is my custom control. When I try to add a image, I got the following
error message.
"Parameter must be of type Image. Parameter name: value"
public class AControl : UserControl
{
public ImageList LargeImages {
get { return FLargeImages; }
set {
FLargeImages = value;
Invalidate();
}
}
}
tinyabs - 11 Feb 2006 06:25 GMT
I found the answer.
public ImageList.ImageCollection argeIcons
{
get{¡}
set{¡}
}
> Hi,
>
[quoted text clipped - 20 lines]
> }
> }
tinyabs - 11 Feb 2006 06:37 GMT
But how do i write the get and set accessors?
>I found the answer.
> public ImageList.ImageCollection argeIcons
[quoted text clipped - 28 lines]
>> }
>> }