ImageList collection in a control

T

tinyabs

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();

}

}
}
 
T

tinyabs

I found the answer.
public ImageList.ImageCollection argeIcons
{
get{¡­}
set{¡­}


}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top