public void book_2Seats_Click_room() { room r = new room(); r.time = "12:50"; r.Show(); r.addseat(r.bt[4], EventArgs.Empty); r.addseat(r.bt[5], EventArgs.Empty); r.button1_Click(r.button1, EventArgs.Empty); }
public void select_2Seats_room() { room r = new room(); r.time = "12:50"; r.Show(); r.addseat(r.bt[5], EventArgs.Empty); r.addseat(r.bt[6], EventArgs.Empty); r.Hide(); r.ShowDialog(); }