Пример #1
0
        private void Hall_Executed(object obj)
        {
            HallWindow hall = new HallWindow(SelectedShow);

            if (hall.ShowDialog() == true)
            {
                ReservationSeats = String.Join(";", hall.reservedSeats.ToArray());
            }
        }
Пример #2
0
        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());
            }
        }
Пример #3
0
 public override void OnEnter(ArgList args)
 {
     base.OnEnter(args);
     SceneManager.LoadSceneAsync("Hall");
     _wnd = UIManager.Instance.ShowWindow <HallWindow>("HallWindow", args, false);
 }