private void btnUpdate_Click(object sender, EventArgs e)
        {
            //get the primary key value of the record to edit and pass it onto edit form
            FrmAEBookings ABooking = new FrmAEBookings(Convert.ToInt32(lstBookings.SelectedValue));

            //make the form visible
            ABooking.Visible = true;
        }
        private void newBookingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //creat an object based on frmMaydayMain
            FrmAEBookings BookingsList = new FrmAEBookings();

            //make the object of a child the midi parent
            BookingsList.MdiParent = this;
            //make the form visible
            BookingsList.Visible = true;
        }