示例#1
0
        private void buttonDelete_Click(object sender, EventArgs e)
        {
            buttonDelete.Visible = false;

            label4.Visible = false;
            label6.Visible = false;

            label1.Text         = "Succesful!";
            label2.Text         = $"Your tickets were removed";
            pictureBox1.Visible = true;

            festivalHandler.RemoveCustomer(CancelBookingForm.customer);
        }