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