public int FindImage(string ImageID) { int Index = -1; for (int x = 0; x < this.Images.Count; x++) { if (this.Images[x].ID == ImageID) { Index = x; break; } } return Index; }