private void cboVenueNames_SelectedIndexChanged(object sender, EventArgs e)
        {
            pnlUpdateVenue.Visible = true;

            string selected = cboVenueNames.Text;

            Venue selectedVenue = new Venue();

            selectedVenue.setName(selected);

            selectedVenue.setVenueDetails();

            txtVenueName.Text = selectedVenue.getName();
            txtStreet.Text    = selectedVenue.getStreet();
            txtTown.Text      = selectedVenue.getTown();
            txtCapacity.Text  = Convert.ToString(selectedVenue.getCapacity());
            txtContactNo.Text = selectedVenue.getContactNo();
            txtEmail.Text     = selectedVenue.getEmail();
            txtPassword.Text  = selectedVenue.getPassword();
        }
        private void btnEmailAnalysis_Click(object sender, EventArgs e)
        {
            string venue = cboVenueNames.Text;
            Venue  ven   = new Venue();

            ven.setName(venue);
            ven.setVenueDetails();

            //Retrieve venue email and send above Analysis results
            MessageBox.Show("Venue Analysis has been emailed to " + ven.getEmail(), "Analysis Emailed", MessageBoxButtons.OK, MessageBoxIcon.Information);

            //Reset UI

            txtEvents.Clear();
            txtCancelledEvents.Clear();
            txtTicketsSold.Clear();
            txtRevenue.Clear();
            txtSysFee.Clear();
            txtRevFee.Clear();
            cboVenueNames.Focus();
        }