private void setImage(Image image) { if (targetElementImage == null) { project.Image.Value = image; } else { editing.Value.Images[targetElementImage].Value = image; } Hide(); }
public ItemButton(Image image) { this.image = image; }