private void Ticket_Load(object sender, EventArgs e) { Trip trip = new Trip(); trip = ForJourney.return_trip(); textBox5.Text = trip.busName; textBox6.Text = trip.category; textBox7.Text = trip.route; textBox8.Text = trip.schedual; textBox9.Text = ForJourney.seat; }
private void ForPayment_Load(object sender, EventArgs e) { Trip trip = ForJourney.return_trip(); textBox1.Text = trip.rent; }