public void openBook() { PlanRoomNumber prn = new PlanRoomNumber(plan, this, cruises[index].ID, cruises[index].Price); plan.Controls.Add(prn); this.Visible = false; }
//int count = 0; //string by, bm, bd; public PlanGuestInformation(Plan p, PlanRoomNumber pgn, int ci, string rn, int gn, double pr) { InitializeComponent(); plan = p; planguestnumber = pgn; cruiseid = ci; roomnum = rn; guestnum = gn; price = pr; }
public PlanGuestNumber(Plan p, PlanRoomNumber prn) { InitializeComponent(); plan = p; planroomnumber = prn; }