private void fillImageList(FilmstripControl i_filmstripControl, List<Image> i_Images)
 {
     foreach (Image currImage in i_Images)
     {
         FilmstripImage currFSimage = new FilmstripImage(currImage, (string)currImage.Tag);
         i_filmstripControl.AddImage(currFSimage);
     }
 }
        /// <summary>
        /// Adds an image to the collection
        /// </summary>
        /// <param name="newImage">Images to add to the collection.</param>
        /// <returns>The ID value of the added image.
        /// If the orginally supplied id value was negative then a new ID value is created.</returns>
        /// <exception cref="System.SystemException.ArgumentException">System.SystemException.ArgumentException - 
        /// if any of the image ids already exist in the collection</exception>
        public int AddImage(FilmstripImage newImage)
        {
            // Create new ID if not supplied
            if (NO_SELECTION_ID == newImage.Id)
            {
                newImage.Id = GetUniqueImageID();
            }

            // Add to the collection - throws an exception if the image id already exists in the collection
            imagesCollection.Add(newImage.Id, newImage);

            // Add the key
            keys.Add(newImage.Id);

            // Repopulate
            //PopulateThumbnails();
            Populate();

            return newImage.Id;
        }
        /// <summary>
        /// Adds a collection of images to the collection
        /// </summary>
        /// <param name="images">Array of images to add to the collection.</param>
        /// <exception cref="System.SystemException.ArgumentException">System.SystemException.ArgumentException - 
        /// if any of the image ids already exist in the collection</exception>
        public void AddImageRange(FilmstripImage[] images)
        {
            Cursor.Current = Cursors.WaitCursor;

            foreach (FilmstripImage image in images)
            {
                // Create new ID if not supplied
                if (NO_SELECTION_ID == image.Id)
                {
                    image.Id = GetUniqueImageID();
                }

                // Add to the collection - throws an exception if the image id already exists in the collection
                imagesCollection.Add(image.Id, image);

                // Add the key
                keys.Add(image.Id);
            }

            // Repopulate
            //PopulateThumbnails();
            Populate();

            Cursor.Current = Cursors.Default;
        }
 /// <summary>
 /// Adds an image to the collection
 /// </summary>
 /// <param name="image">The image</param>
 /// <param name="text">The image description</param>
 /// <returns>The ID value of the added image.
 /// If the orginally supplied id value was negative then a new ID value is created.</returns>
 /// <exception cref="System.SystemException.ArgumentException">System.SystemException.ArgumentException - 
 /// if the image id already exists in the collection</exception>
 public int AddImage(Image image, String text)
 {
     FilmstripImage newImage = new FilmstripImage(image, text);
     return AddImage(newImage);
 }