Example #1
0
        public AddSeanceForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);

            MoviesAdminService moviesService = MoviesAdminServiceImpl.GetService();

            movies          = moviesService.GetMoviesList();
            movieLabel.Text = movies[checkMovie].GetTitle();

            HallsAdminService hallsService = HallsAdminServiceImpl.GetService();

            halls = hallsService.GetHallsList();
            SetHallInfo(halls[checkHall]);

            timePickerData.Format       = DateTimePickerFormat.Custom;
            timePickerData.CustomFormat = "dd/MM/yyyy hh:mm";
        }
 private void DownloadList()
 {
     movies = moviesService.GetMoviesList();
 }