コード例 #1
0
 /// <summary>
 /// Replace an entry in the given image list
 /// </summary>
 /// <param name="bm">The image</param>
 /// <param name="index">The index to replace</param>
 /// <param name="il">The image list</param>
 public static void Replace(Bitmap bm, int index, ImageList il)
 {
     ImageListHelper.AddHelper(bm, il, true, index);
 }
コード例 #2
0
 /// <summary>
 /// Add an entry to the given image list
 /// </summary>
 /// <param name="bm">The image</param>
 /// <param name="il">The image list</param>
 public static void Add(Bitmap bm, ImageList il)
 {
     ImageListHelper.AddHelper(bm, il, false, 0);
 }