Exemple #1
0
        private void dateBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.hourBox.Text = "Select time";
            this.hourBox.Items.Clear();
            var date = this.dateBox.SelectedItem.ToString();

            var hours = screeningService.GetHoursForMoviesByDate(this._townName,
                                                                 this._cinemaName, this._movieName, date);

            ;
            this.hourBox.Items.AddRange(hours);
        }