public MapImage Add(string name) { MapImage mapImage = new MapImage(); mapImage.Name = name; Add(mapImage); return(mapImage); }
protected override void OnInsertComplete(int index, object value) { base.OnInsertComplete(index, value); MapImage mapImage = (MapImage)value; if (mapImage.Position.DefaultValues && index != 0) { MapImage mapImage2 = this[index - 1]; mapImage.Location.X = mapImage2.Location.X + 3f; mapImage.Location.Y = mapImage2.Location.Y + 3f; } }
public void Remove(MapImage value) { base.List.Remove(value); }
public int Add(MapImage value) { return(base.List.Add(value)); }