/// 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();
        }
Пример #2
0
        /*********************************************************************************************
        * Author: Alejandro Sosa
        * parameters: int that specifies total sections on the progress bar, and a reference to the backed
        * return type: none
        * purpose: initializes progressForm object
        *********************************************************************************************/
        public progressForm( int maxBarUnits, PhotoBomb backend)
        {
            bombaDeFotos = backend;

            InitializeComponent();

            //-- set progress bar sections to maxBarUnits
            importProgressBar.Maximum = maxBarUnits;

            finishButton.Enabled = false;

            //--cancel button and finish button are in the same spot, so make sure cencel button
            //--remains on top
            cancelButton.BringToFront();

            DialogResult = DialogResult.None;
        }
Пример #3
0
 /// 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();
 }