internal Original(object image, ImageList.OriginalOptions options, Color customTransparentColor) { this.customTransparentColor = Color.Transparent; this.nImages = 1; if (!(image is Icon) && !(image is Image)) { throw new InvalidOperationException(System.Windows.Forms.SR.GetString("ImageListEntryType")); } this.image = image; this.options = options; this.customTransparentColor = customTransparentColor; ImageList.OriginalOptions options1 = options & ImageList.OriginalOptions.CustomTransparentColor; }
internal Original(object image, ImageList.OriginalOptions options, int nImages) : this(image, options, Color.Transparent) { this.nImages = nImages; }
internal Original(object image, ImageList.OriginalOptions options) : this(image, options, Color.Transparent) { }
internal Original(object image, ImageList.OriginalOptions options, Color customTransparentColor) { this.customTransparentColor = Color.Transparent; this.nImages = 1; if (!(image is Icon) && !(image is Image)) { throw new InvalidOperationException(System.Windows.Forms.SR.GetString("ImageListEntryType")); } this.image = image; this.options = options; this.customTransparentColor = customTransparentColor; ImageList.OriginalOptions options1 = options & ImageList.OriginalOptions.CustomTransparentColor; }