コード例 #1
0
        /// 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
ファイル: progressForm.cs プロジェクト: bsanders/softeng
        /*********************************************************************************************
        * 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();
 }