//Display make reservation form.
 private void btnMakeReservation_Click(object sender, EventArgs e)
 {
     this.Hide();
     frmMakeReservation = new frmMakeReservation();
     frmMakeReservation.ShowDialog(); //Display make reservation form
     this.Show();
 }
        private void btnChange_Click(object sender, EventArgs e)
        {
            //Checks to see if the movie hass already been shown.
            if (Convert.ToDateTime(gridShow.Rows[0].Cells[3].Value) < DateTime.Now)
            {
                //Message saying they cannot change.
                MetroMessageBox.Show(this, "You cannot change your reservation as this movie has already been shown.", "Unable to change reservation", MessageBoxButtons.OK, MessageBoxIcon.Error);

            }
            
            else
            {
                //Checks to see if the customer really wants to change their reservation.
                DialogResult dialogResult = MetroMessageBox.Show(this, "Are you sure you want to change your reservation? If you press yes this reservation will be deleted.", "Reservation deletion warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning);
                if (dialogResult == DialogResult.OK)
                {
                    seatController.changeSeatAvailabilityEmpty(); //Makes the seat they reserved available
                    ticketController.deleteTicket(); //Deletes the tickets that they had originally reserved.
                    reservationController.deleteReservation(); //Deletes the reservation.


                    MetroMessageBox.Show(this, "Please select the reservation details again", "Changing reservation", MessageBoxButtons.OK, MessageBoxIcon.Question);

                    this.Hide();
                    frmMakeReservation = new frmMakeReservation(); 
                    frmMakeReservation.ShowDialog(); //Display make reservation form
                    this.Show();
                }
                //Reservation change cancelled.
                else
                {
                    MetroMessageBox.Show(this, "Reservation has not been deleted.", "Changing reservation cancelled.", MessageBoxButtons.OK, MessageBoxIcon.Question);
                }
            }
        }