//End variables

        //Constructor
        public frmShowController(MetroForm form, MetroGrid grid)
        {
            this.form = form;
            this.grid = grid;
            //Instantiate database.
            database = new Database(form);
        }
        public frmShowController(MetroForm form, int showID)
        {
            this.form = form;
            this.showID = showID;

            //Instantiate database
            database = new Database(form);
        }
        public frmReservationController(MetroForm form, int reservationID)
        {
            this.reservationID = reservationID;
            this.form = form;

            //Instantiate database
            database = new Database(form);
        }
        public frmShowController(MetroForm form, MetroGrid grid, int reservationID)
        {
            this.form = form;
            this.grid = grid;
            this.reservationID = reservationID;

            database = new Database(form); //Instantiate database.
        }
        //End variables

        //Constructor
        public frmReservationController(MetroGrid grid, MetroForm form)
        {
            this.grid = grid;
            this.form = form;

            //Instantiate database
            database = new Database(form);
        }
        public frmSeatController(MetroForm form, List<int> seatID, int showID)
        {
            this.seatID = seatID;
            this.showID = showID;
            this.form = form;

            //Instantiate database
            database = new Database(form);
        }
        //End variables

        //Constructor
        public frmSeatController(MetroForm form)
        {
            this.form = form;

            //Start instantiations
            database = new Database(form);
            show = new Show();
            //End instantiations
        }
        //End variables

        //Constructor
        public frmEmployeeController(MetroForm form, MetroGrid grid)
        {
            this.form = form;
            this.grid = grid;
            //Start instantiation
            database = new Database(this.form);
            encryptionController = new frmEncryptionController();
            //End instantiation
        }
        //End variables

        //Constructor
        public frmRegisterController(Customer customer, MetroForm form)
        {
            this.customer = customer;
            this.form = form;

            //Start instantiations
            database = new Database(form);
            encryptionController = new frmEncryptionController();
            //End instantiations
        }
        //End variables

        //Constructor
        public frmOverviewController(MetroForm form, ComboBox comboBox)
        {
            this.form = form;
            this.comboBox = comboBox;

            //Start instantiation
            seatAvailability = new List<bool>();
            database = new Database(form);
            //End instantiation
        }
        //End variables

        //Controller
        public frmLoginController(MetroForm form, string username, string password)
        {
            this.username = username;
            this.form = form;
            this.password = password;

            //Start instantiation
            database = new Database(form);
            encryptionController = new frmEncryptionController();
            //End instantiation
        }
        public frmReservationController(MetroForm form, int customerID, List<int> seatID, int showID)
        {
            this.form = form;
            this.customerID = customerID;
            this.seatID = seatID;
            this.showID = showID;

            //Start instantiation
            reservation = new Reservation(customerID, DateTime.Now.Date);
            database = new Database(form);
            //End instantiation
        }
        public frmTicketController(MetroForm form, MetroGrid grid, int reservationID)
        {
            this.form = form;
            this.grid = grid;
            
            //Start instantiation
            ticket = new Ticket();
            database = new Database(form);
            //End instantiation

            ticket.getSetReservationID = reservationID;
        }
        //End variables

        //Constructor
        public frmTicketController(MetroForm form, List<int> seatID, int showID, int customerID, MetroGrid grid)
        {
            this.showID = showID;
            this.seatID = seatID;
            this.form = form;
            this.grid = grid;
            this.customerID = customerID;

            //Start instantiations
            reservationController = new frmReservationController(form, customerID, seatID, showID);
            reservation = new Reservation(customerID, DateTime.Now.Date);
            database = new Database(form);
            ticket = new Ticket();
            //End instantiations
        }
        private void frmShowMovie_Load(object sender, EventArgs e)
        {
            database = new Database(this);
            movieController = new frmMovieController(this, gridMovie);
            designController = new frmDesignController();

            //Displays information in the movie grid.
            movieController.displayGrid();

            //Hide column movie id.
            gridMovie.Columns[0].Visible = false;

            //Does not allow changes to be made.
            gridMovie.ReadOnly = true;

            //Formats the design of the grid.
            designController.changeFont(gridMovie);
        }
 public frmShowController(MetroForm form)
 {
     this.form = form;
     //Instantiate database
     database = new Database(form);
 }
        //End variables

        //Constructor
        public frmMovieController(MetroForm form, MetroGrid grid)
        {
            this.form = form;
            this.grid = grid;
            database = new Database(this.form); //Instantiate database
        }
        public frmReservationController(MetroForm form)
        {
            this.form = form;

            database = new Database(form); //Instantiate database.
        }
 public frmMovieController(MetroForm form, int movieID)
 {
     this.form = form;
     this.movieID = movieID;
     database = new Database(form);//Instantiate database
 }