コード例 #1
0
        public frmReservedSeats(frmReserveTickets reservedTickets, ArrayList seats, double cost)
        {
            InitializeComponent();

            //grab the values
            ReservedTickets = reservedTickets;
            Seats = seats;
            Cost = cost;
        }
コード例 #2
0
        private void reserveSeatsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //create reserve tickets form
            frmReserveTickets reserveWindow = new frmReserveTickets(this);

            //disable buttons on this form
            this.ButtonsEnabled = false;

            //display that form
            reserveWindow.Show();
        }