private void BackButton_Click(object sender, EventArgs e)
        {
            PassangerDetails passanger = new PassangerDetails();

            passanger.Show();
            this.Hide();
        }
Пример #2
0
        private void button_AIRPLANE_Click(object sender, EventArgs e)
        {
            TicketClass.mode = "AIR";
            c.fetch_price(c, "AIR");
            PassangerDetails passanger = new PassangerDetails();

            passanger.Show();
            this.Hide();
        }
Пример #3
0
        private void button_EMERGENCY_Click(object sender, EventArgs e)
        {
            TicketClass.mode = "EMERGENCY";
            c.fetch_price(c, "EMERGENCY");
            c.Emergency_calculation();
            PassangerDetails passanger = new PassangerDetails();

            passanger.Show();
            this.Hide();
        }