private void reservationButtons(Seat currentSeat, bool reserved)
        {
            if (currentSeat.reserved)
            {
                //toggle button to reflect status
                btnReserve.Text = "Release";

                //display ticket info if the seat has been reserved
                lblTixCostResult.Text = "$ " + String.Format("{0:0.00}", currentSeat.ticket.cost.ToString());
                lblTixTypeResult.Text = currentSeat.ticket.type;

                //flag changes
                mainChart.changed = true;
            }//end if

            else if(!currentSeat.reserved)
            {
                //toggle button to reflect status
                btnReserve.Text = "Reserve";

                //hide ticket info if the seat is available
                lblTixCostResult.Text = "";
                lblTixTypeResult.Text = "";

                //flag changes
                mainChart.changed = true;
            }//end else if

            MainChart.updateForm();
        }
        private void populateTables()
        {
            for (int i = (SeatNumbers.seatNums.Length - 1); i >= 0; i--)
            {
                //create new object for the seat
                Seat seat = new Seat(SeatNumbers.seatNums[i], i);
                seat.arrayIndex = i;

                //add seat to hashtables
                this.htBits2Seats.Add(i, SeatNumbers.seatNums[i]);
                this.htSeats2Bits.Add(SeatNumbers.seatNums[i], seat);
            }//end popluate for
        }