/// By Julian Nguyen
        /// Edited: Julian Ngugen(4/28/13)
        /// <summary>
        /// This will setup the class. 
        /// </summary>
        public PhotoBomberController()
        {
            InitializeComponent();
            _imageManipulation = new ImageManipulation();
            _photoBombDatabase = new PhotoBomb();
            mainGuiWindow = new MainWindow(this);

            mainGuiWindow.Show();
        }
 /// By Julian Nguyen
 /// Edited: Julian Ngugen(4/28/13)
 /// <summary>
 /// This will setup the class. 
 /// </summary>
 public zzobsoletezzPhotoBomb_Controller()
 {
     _imageManipulation = new ImageManipulation();
     _photoBombDatabase = new PhotoBomb();
 }
Exemple #3
0
        /// By Julian Nguyen
        /// Edited: Julian Nguyen(5/1/13)
        /// <summary>
        /// 
        /// </summary>
        public PhotoBomb()
        {
            _photoBomb_xml = new PhotoBomb_Xml();
            _imageManipulation = new ImageManipulation();

            //the list of all albums to return to the gui.
            _albumsCollection = new ObservableCollection<SimpleAlbumData>();

            //the list of photographs to be used to populate the album view
            _imagesCollection = new ObservableCollection<ComplexPhotoData>();

            // initialize a list for the clipboard
            _imagesClipboard = new List<ComplexPhotoData>();

            _albumsXmlPath = String.Empty;
            _imageXmlPath = String.Empty;
            _imagelibraryDirPath = String.Empty;
        }