public AddImage ( Image image ) : void | ||
image | Image | the image object to be added. |
Résultat | void |
public void AddImage(Image image)
{
if (null == image)
{
throw new ArgumentNullException("image");
}
if (null == imageList)
{
imageList = new ImageList();
}
imageList.Images.Add(image);
if (null != iconHandles)
{
iconHandles.Add(IntPtr.Zero);
}
}