private void Hall_Executed(object obj) { HallWindow hall = new HallWindow(SelectedShow); if (hall.ShowDialog() == true) { ReservationSeats = String.Join(";", hall.reservedSeats.ToArray()); } }
private void EditHall_Executed(object obj) { HallWindow hall = new HallWindow(SelectedReservation.Show); List <string> result = SelectedReservation.Seats.Split(';').ToList(); hall.reservedSeats = result; hall.RecheckSeats(); if (hall.ShowDialog() == true) { SelectedReservation.Seats = String.Join(";", hall.reservedSeats.ToArray()); } }
public override void OnEnter(ArgList args) { base.OnEnter(args); SceneManager.LoadSceneAsync("Hall"); _wnd = UIManager.Instance.ShowWindow <HallWindow>("HallWindow", args, false); }