Ejemplo n.º 1
0
        public frmPhotoEdit(PhotoIcon photoToEdit, PhotoGallery parentGallery)
        {
            InitializeComponent();

            this.photo = photoToEdit;
            this.parentPhotoGallery = parentGallery;

            this.txtTitle.Text = photoToEdit.PhotoObject.vtitle;
            this.txtDescription.Text = photoToEdit.PhotoObject.vdescription;
            this.txtAuthor.Text = photoToEdit.PhotoObject.vauthor;
            this.pbPhoto.Image = photoToEdit.PhotoObject.vimageobject;
        }
Ejemplo n.º 2
0
        public frmAlbumEdit(AlbumIcon albumToEdit, PhotoGallery parentPhotoGallery)
        {
            InitializeComponent();
            album = albumToEdit;

            this.txtTitle.Text = this.Text = album.Title;
            this.txtAuthor.Text = album.AlbumObject.vauthor;
            this.txtDescription.Text = album.AlbumObject.vdescribe;
            this.pbMainPhoto.Image = album.MainImage;

            parentGallery = parentPhotoGallery;
        }
Ejemplo n.º 3
0
 public frmPhotoAdd(PhotoGallery photoGallery)
 {
     InitializeComponent();
     this.parentGallery = photoGallery;
 }
Ejemplo n.º 4
0
 public frmAlbumAdd(PhotoGallery photoGallery)
     : this()
 {
     this.parentGallery = photoGallery;
 }