Exemple #1
0
        private void pb_book_Click(object sender, EventArgs e)
        {
            _collectClicked = false;

            if (_bookClicked == false)
            {
                //clear the pictures
                ClearText();

                //change the picture
                ResetImage("data/images/book_ticketTXT.png");
                _bookClicked = true;
            }
            else
            {
                var bookingForm = new BookingForm(this);
                bookingForm.Show();
                ClearText();
                this.Hide();
            }
        }
Exemple #2
0
 private void btn_cancel_Click(object sender, EventArgs e)
 {
     _bookingForm.Show();
     Close();
 }